C# Class ActiveAnimation, TheUnseen

Inheritance: MonoBehaviour
Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство Type Description
current ActiveAnimation,
onFinished List

Private Properties

Свойство Type Description
Play void
Start void
Update void

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

Play() static public méthode

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

Play() static public méthode

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
Résultat ActiveAnimation,

Play() static public méthode

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
Résultat ActiveAnimation,

Reset() public méthode

Manually reset the active animation to the beginning.
public Reset ( ) : void
Résultat void

Property Details

current static_oe public_oe property

Active animation that resulted in the event notification.
static public ActiveAnimation, current
Résultat ActiveAnimation,

onFinished public_oe property

Event delegates called when the animation finishes.
public List onFinished
Résultat List