cant convert type (int, int) to Vector2
as shown, I am trying to convert these here integers into Vector 2 format. the activeTile variable is of the type Vector2
9 Replies
Uh
Did you try just instantiating a
Vector2
Instead of using tuples?upon trying to explicity convert
I have no idea
what does that mean?
new Vector2(x, y)
usually
new Foo()
is how you create an instance of a Foo
same is true for any class or structno, I am assigning these two values to a preexisiting Vector2
Then do that
the Vector2 is contained in a different script
oh I just forgot to put new