public override void OnEnter()
        {
            var go = Fsm.GetOwnerDefaultTarget(inputGameObject);

            input = go.GetComponent <XRControllerInput>();
            if (go == null || input == null)
            {
                return;
            }

            GetValue();

            if (!everyFrame.Value)
            {
                Finish();
            }
        }
Пример #2
0
 public override void OnEnter()
 {
     inputtracking = XRController.GetComponent <XRControllerInput>();
     SetupEvent();
 }