Exemplo n.º 1
0
    }    //Start

    // Update is called once per frame
    void Update()
    {
        ListenForLearnRequest();        //Explained in declaration
        ListenForDisplayMode();         //Listen for 'Tab' to toggle InputPlus's on screen data

        if (InputPlus.GetProgrammingStatus())
        {
            if (Input.GetKeyDown(KeyCode.Escape))
            {
                InputPlus.CancelProgramming();
            }
        } //If the controller is receiving assignments the user can press 'Escape' to Cancel.
    }     //Update