예제 #1
0
    public void OnButtonPush(PushButton buttonPushed)
    {
        //Debug.Log("Push Button Pushed");

        if (currentState != State.CollectPlayerGuesses)
        {
            buttonPushed.PlayInvalidActionSound();
            return;
        }

        currentPlaySurface.StorePlayerGuess(buttonPushed);

        currentState = State.CollectPlayerGuesses;
    }