Ejemplo n.º 1
0
        private void DoTriggerPressed(object sender, ControllerInteractionEventArgs e)
        {
            DebugLogger(VRTK_ControllerReference.GetRealIndex(e.controllerReference), "TRIGGER", "pressed", e);
            ToggleNames Script = GameObject.FindGameObjectWithTag("GameController").GetComponent <ToggleNames>();

            Script.toggle();
        }
Ejemplo n.º 2
0
    public void ToggleNames()
    {
        ToggleNames Script = GameObject.FindGameObjectWithTag("GameController").GetComponent <ToggleNames>();

        Script.toggle();
    }