C# Class ActiveAnimation, TheUnseen

Inheritance: MonoBehaviour
ファイルを表示 Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
current ActiveAnimation,
onFinished List

Private Properties

Property Type Description
Play void
Start void
Update void

Public Methods

Method Description
Play ( Animation anim, Direction, playDirection ) : ActiveAnimation,

Play the specified animation.

Play ( Animation anim, string clipName, Direction, playDirection ) : ActiveAnimation,

Play the specified animation.

Play ( Animation anim, string clipName, Direction, playDirection, EnableCondition enableBeforePlay, DisableCondition disableCondition ) : ActiveAnimation,

Play the specified animation on the specified object.

Play ( Animator anim, string clipName, Direction, playDirection, EnableCondition enableBeforePlay, DisableCondition disableCondition ) : ActiveAnimation,

Play the specified animation on the specified object.

Reset ( ) : void

Manually reset the active animation to the beginning.

Private Methods

Method Description
Play ( string clipName, Direction, playDirection ) : void

Play the specified animation.

Start ( ) : void

Event receiver is only kept for backwards compatibility purposes. It's removed on start if new functionality is used.

Update ( ) : void

Notify the target when the animation finishes playing.

Method Details

Play() static public method

Play the specified animation.
static public Play ( Animation anim, Direction, playDirection ) : ActiveAnimation,
anim Animation
playDirection Direction,
return ActiveAnimation,

Play() static public method

Play the specified animation.
static public Play ( Animation anim, string clipName, Direction, playDirection ) : ActiveAnimation,
anim Animation
clipName string
playDirection Direction,
return ActiveAnimation,

Play() static public method

Play the specified animation on the specified object.
static public Play ( Animation anim, string clipName, Direction, playDirection, EnableCondition enableBeforePlay, DisableCondition disableCondition ) : ActiveAnimation,
anim Animation
clipName string
playDirection Direction,
enableBeforePlay EnableCondition
disableCondition DisableCondition
return ActiveAnimation,

Play() static public method

Play the specified animation on the specified object.
static public Play ( Animator anim, string clipName, Direction, playDirection, EnableCondition enableBeforePlay, DisableCondition disableCondition ) : ActiveAnimation,
anim Animator
clipName string
playDirection Direction,
enableBeforePlay EnableCondition
disableCondition DisableCondition
return ActiveAnimation,

Reset() public method

Manually reset the active animation to the beginning.
public Reset ( ) : void
return void

Property Details

current static_oe public_oe property

Active animation that resulted in the event notification.
static public ActiveAnimation, current
return ActiveAnimation,

onFinished public_oe property

Event delegates called when the animation finishes.
public List onFinished
return List