idxtoboardpos - eisclimber/ExPresS-XR GitHub Wiki
Method in PuzzleGame
Converts a puzzle piece idx to a board position (Vector2).
public Vector2Int IdxToBoardPos(int idx);| Name | Description |
|---|---|
int idx |
Idx to convert. |
Vector2 representing the idx on the board.