public abstract void OnUnInteract(XRNode hand, GameObject handObject = null, AnimationController handAnimation = null, XRNodeHandController handController = null);
 private void OnEnable()
 {
     controller                = (AnimationController)target;
     controller.animator       = controller.GetComponent <Animator>();
     EditorApplication.update += Update;
 }
 protected virtual void Awake()
 {
     controller = GetComponentInChildren <AnimationController>();
 }
Exemple #4
0
 void Awake()
 {
     handState             = HandState.Free;
     currentHandAnimation  = this.GetComponent <AnimationController>();
     currentHandController = this.GetComponentInParent <XRNodeHandController>();
 }