I’m getting an error from the console saying “The call is ambiguous between the following methods or properties” and points me to this line of code. I’m not entirely sure what is wrong with this code since I’ve used vector3s with vector2s in other parts of my script with no issues. What exactly is wrong this code?
transform.Find("gameobject1").localPosition = transform.Find("gameobject2").localPosition + new Vector2(Random.Range(0.5f, 0.75f), 0.0f);