Class SUAnimatorBehaviour
Class to make a Surfer Action when entering or exiting an Animator State
Inheritance
SUAnimatorBehaviour
Assembly: cs.temp.dll.dll
Syntax
public class SUAnimatorBehaviour : StateMachineBehaviour
Fields
OnEnter
Declaration
public UnityEvent OnEnter
Field Value
Type |
Description |
UnityEvent |
|
OnExit
Declaration
Field Value
Type |
Description |
UnityEvent |
|
Methods
OnStateEnter(Animator, AnimatorStateInfo, Int32)
Declaration
public override void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
Parameters
Type |
Name |
Description |
Animator |
animator |
|
AnimatorStateInfo |
stateInfo |
|
Int32 |
layerIndex |
|
OnStateExit(Animator, AnimatorStateInfo, Int32)
Declaration
public override void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
Parameters
Type |
Name |
Description |
Animator |
animator |
|
AnimatorStateInfo |
stateInfo |
|
Int32 |
layerIndex |
|