protected virtual void InputSystemKernelLoadedHandler(uFrame.Kernel.KernelLoadedEvent data, WandManager group)
 {
 }
Example #2
0
 protected override void InputSystemKernelLoadedHandler(KernelLoadedEvent data, WandManager group)
 {
     base.InputSystemKernelLoadedHandler(data, group);
     leftController  = SteamVR_Controller.Input((int)group.Left.GetComponent <SteamVR_TrackedObject>().index);
     rightController = SteamVR_Controller.Input((int)group.Right.GetComponent <SteamVR_TrackedObject>().index);
     Menu            = GameObject.FindGameObjectWithTag("Menu");
     Publish(new MenuEvent());
 }