GetPartsIndex
GetPartsIndex(ushort, int, int)
public static ushort GetPartsIndex(ushort partsID, int x, int y) ;
Description
Gets the index of the parts.
Parameters
| Parameter Name | Description |
|---|---|
| partsID | Current parts ID. |
| x | The x coordinate(between 0 and 1). |
| y | The y coordinate(between 0 and 1). |
Returns
The parts index.