 | ArrayXScrollArrayIndex Method |
Scrolls the index of the array to wrap on ends.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static int ScrollArrayIndex(
int currentIndex,
int length,
int scrollAmount
)
Parameters
- currentIndex
- Type: SystemInt32
Current index. - length
- Type: SystemInt32
Length of the array. - scrollAmount
- Type: SystemInt32
Scroll amount.
Return Value
Type:
Int32The array index.
See Also