예제 #1
0
    /// <summary>
    /// This gets called when the user clicks the button
    /// </summary>
    private void ButtonWasClicked()
    {
        if (m_CanHitButton)
        {
            m_CanHitButton = false;

            // End the stage
            m_Manager.HighlightButtonOff(m_Manager.GetTriggerButton());
            m_Manager.MoveBoxOutOfScene();
            m_Manager.MoveToNextStage(2f);
        }
    }