C# Class SSTUTools.AnimationController

Show file Open project: shadowmage45/SSTULabs Class Usage Examples

Public Methods

Method Description
AnimationController ( ) : System
addAnimationData ( SSTUAnimData data ) : void
clearAnimationData ( ) : void
restorePreviousAnimationState ( AnimState state ) : void
setAnimState ( AnimState newState, bool callback ) : void
setAnimState ( String state ) : void
setMaxTime ( float time ) : void
setStateChangeCallback ( Action cb ) : void
updateAnimationState ( ) : void

Private Methods

Method Description
playAnimation ( ) : void
setAnimSpeed ( float speed ) : void
setAnimTime ( float time, bool sample = false ) : void
stopAnimation ( ) : void

Method Details

AnimationController() public method

public AnimationController ( ) : System
return System

addAnimationData() public method

public addAnimationData ( SSTUAnimData data ) : void
data SSTUAnimData
return void

clearAnimationData() public method

public clearAnimationData ( ) : void
return void

restorePreviousAnimationState() public method

public restorePreviousAnimationState ( AnimState state ) : void
state AnimState
return void

setAnimState() public method

public setAnimState ( AnimState newState, bool callback ) : void
newState AnimState
callback bool
return void

setAnimState() public method

public setAnimState ( String state ) : void
state String
return void

setMaxTime() public method

public setMaxTime ( float time ) : void
time float
return void

setStateChangeCallback() public method

public setStateChangeCallback ( Action cb ) : void
cb Action
return void

updateAnimationState() public method

public updateAnimationState ( ) : void
return void