Exemplo n.º 1
0
 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>();
 }
Exemplo n.º 4
0
 void Awake()
 {
     handState             = HandState.Free;
     currentHandAnimation  = this.GetComponent <AnimationController>();
     currentHandController = this.GetComponentInParent <XRNodeHandController>();
 }