Grid movement with a rectangular grid?

I need a character to teleport from one panel to the next, the panels are rectangular, how would I do this?
also its worth mentioning that I have a 2D array of panels, and the only issue with it is that it instatiates them in a square grid not a rectangular one.

1 Answer

1

What do you mean by “the panels”? You have a grid and you want to teleport from one place to another? Then, you need just put transform.position = positionOfNextPanel. If you meant something else, please describe it into a greater extent.

Elaborated.