Method GetArrayItem
GetArrayItem(Int32, Int32)
Gets the GlobalVariable stored at a specific index in a global array.
Declaration
public GlobalVariable GetArrayItem(int index, int itemSize)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | The array index. |
| System.Int32 | itemSize | The number of items stored in each array index. For example an array of Vector3s takes up 3 items. |
Returns
| Type | Description |
|---|---|
| GlobalVariable | The GlobalVariable at the index given. |