SetPartsIndex
SetPartsIndex(ushort, int, int, int)
public static ushort SetPartsIndex(ushort partsID, int x, int y, int index) ;
Description
Sets 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). |
index | Index. |
Returns
The parts index.