Click or drag to resize
ArrayXScrollArrayIndex Method
Scrolls the index of the array to wrap on ends.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public 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: Int32
The array index.
See Also