Свойство | Type | Description | |
---|---|---|---|
target | Transform |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
GetAnimationName ( Vector3 dir, float playerSpeed ) : AnimationName | ||
OnAnimatorMove ( ) : void | ||
SetAnimation ( AnimationName name ) : void | ||
SetAnimation ( AnimationName name, AnimationLayer layer, bool blocking = false ) : void | ||
SetController ( RuntimeAnimatorController controller ) : void | ||
SetDefaultController ( ) : void |
Méthode | Description | |
---|---|---|
GetCurrentTrigger ( AnimationLayer layer ) : int | ||
GetLayerId ( AnimationLayer layer ) : int | ||
GetTriggerId ( AnimationName name, AnimationLayer layer ) : int | ||
SetCurrentTrigger ( AnimationLayer layer ) : IEnumerator | ||
SetCurrentTrigger ( AnimationLayer layer, int triggerId ) : void |
public static GetAnimationName ( Vector3 dir, float playerSpeed ) : AnimationName | ||
dir | Vector3 | |
playerSpeed | float | |
Résultat | AnimationName |
public SetAnimation ( AnimationName name ) : void | ||
name | AnimationName | |
Résultat | void |
public SetAnimation ( AnimationName name, AnimationLayer layer, bool blocking = false ) : void | ||
name | AnimationName | |
layer | AnimationLayer | |
blocking | bool | |
Résultat | void |
public SetController ( RuntimeAnimatorController controller ) : void | ||
controller | RuntimeAnimatorController | |
Résultat | void |