프로퍼티 | 타입 | 설명 | |
---|---|---|---|
animations | SuperSpriteAnim[], | ||
defaultAnim | int | ||
playDefaultAnimOnStart | bool |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
animCompleteDelegate | AnimCompleteDelegate | ||
animating | bool | ||
curAnim | SuperSpriteAnim, | ||
m_started | bool |
메소드 | 설명 | |
---|---|---|
DoAnim ( SuperSpriteAnim, anim ) : void |
Plays the specified SuperSprite animation, but only if it isn't playing already.
|
|
DoAnim ( int index ) : void |
Plays the specified SuperSprite animation, but only if it isn't playing already.
|
|
DoAnim ( string name ) : void |
Plays the specified SuperSprite animation, but only if it isn't playing already.
|
|
GetAnim ( int index ) : SuperSpriteAnim, |
Returns the SuperSpriteAnim at the specified index.
|
|
GetAnim ( string name ) : SuperSpriteAnim, |
Returns the SuperSpriteAnim with the specified name.
|
|
GetCurAnim ( ) : SuperSpriteAnim, | ||
Hide ( bool tf ) : void |
Hides the SuperSprite.
|
|
IsAnimating ( ) : bool |
Returns whether an animation is playing.
|
|
IsHidden ( ) : bool |
Returns whether the SuperSprite is hidden.
|
|
PauseAnim ( ) : void |
Pauses the currently playing animation.
|
|
PlayAnim ( SuperSpriteAnim, anim ) : void |
Plays the specified SuperSprite animation.
|
|
PlayAnim ( int index ) : void |
Plays the specified SuperSprite animation.
|
|
PlayAnim ( string anim ) : void |
Plays the specified SuperSprite animation.
|
|
SetAnimCompleteDelegate ( AnimCompleteDelegate del ) : void |
Sets the delegate to be called upon animation completion.
|
|
Start ( ) : void | ||
StopAnim ( ) : void |
Stops the current animation from playing and resets it to the beginning for playing again.
|
|
UnpauseAnim ( ) : void |
Resumes an animation from where it left off previously.
|
메소드 | 설명 | |
---|---|---|
AnimFinished ( SuperSpriteAnim, anim ) : void |
protected AnimFinished ( SuperSpriteAnim, anim ) : void | ||
anim | SuperSpriteAnim, | |
리턴 | void |
public DoAnim ( SuperSpriteAnim, anim ) : void | ||
anim | SuperSpriteAnim, | The SuperSprite animation to be played. |
리턴 | void |
public DoAnim ( int index ) : void | ||
index | int | The index of the SuperSprite animation to be played. |
리턴 | void |
public GetAnim ( int index ) : SuperSpriteAnim, | ||
index | int | The index of the desired animation. |
리턴 | SuperSpriteAnim, |
public GetAnim ( string name ) : SuperSpriteAnim, | ||
name | string | The name of the desired animation. |
리턴 | SuperSpriteAnim, |
public PlayAnim ( SuperSpriteAnim, anim ) : void | ||
anim | SuperSpriteAnim, | The SuperSprite animation to be played. |
리턴 | void |
public PlayAnim ( int index ) : void | ||
index | int | The index of the SuperSprite animation to be played. |
리턴 | void |
public PlayAnim ( string anim ) : void | ||
anim | string | The name of the SuperSprite animation to be played. |
리턴 | void |
public SetAnimCompleteDelegate ( AnimCompleteDelegate del ) : void | ||
del | AnimCompleteDelegate | The delegate to be called when an animation finishes playing. |
리턴 | void |
protected AnimCompleteDelegate animCompleteDelegate | ||
리턴 | AnimCompleteDelegate |