Method | Description | |
---|---|---|
AnimationLoop ( string name, |
Initialize the loop!
|
|
NextFrame ( int currentFrame ) : int |
Get the next frame based on the current frame.
|
public AnimationLoop ( string name, |
||
name | string | What is the loop called? |
frames | The list of frames in the loop. | |
rIdx | int | The return index. |
return | System |
public NextFrame ( int currentFrame ) : int | ||
currentFrame | int | The current position in the list. |
return | int |