IndexToPos
IndexToPos(int, int, int, Vector2Int)
Description
Get the Texture position from the index of the part.
Parameters
| Parameter Name | Description |
|---|---|
| index | Index. |
| x | The x coordinate(between 0 and 1). |
| y | The y coordinate(between 0 and 1). |
| tilePos | Tile position |
Returns
The texture position.