Beispiel #1
0
 public ControllerValue <float> GetFloatParam(string name)
 {
     return(ControllerValue <float>
            .CreateFloat(controllerPlayable, Animator.StringToHash(name)));
 }
Beispiel #2
0
 public ControllerValue <bool> GetTriggerValue(string name)
 {
     return(ControllerValue <bool>
            .CreateBool(controllerPlayable, Animator.StringToHash(name)));
 }
Beispiel #3
0
 public ControllerValue <int> GetIntParam(string name)
 {
     return(ControllerValue <bool>
            .CreateInt(controllerPlayable, Animator.StringToHash(name)));
 }