idxtoboardpos - eisclimber/ExPresS-XR GitHub Wiki

PuzzleGame.IdxToBoardPos(int)

Method in PuzzleGame

Summary

Converts a puzzle piece idx to a board position (Vector2).

public Vector2Int IdxToBoardPos(int idx);

Parameters

Name Description
int idx Idx to convert.

Returns

Vector2 representing the idx on the board.

⚠️ **GitHub.com Fallback** ⚠️