Beispiel #1
0
    public static event UnityAction <HintPopup> OnHintPopupClicked; //Event is fired when popup created

    private void OnEnable()
    {
        //Is 'Remove letters' button should be disabled
        if (LevelManager.GetCurrentState().isLettersRemoved&& buttons[1].interactable == true)
        {
            StaticBehaviors.DisableButton(buttons[1]);
        }
        LevelManager.isPaused = true;
        MusicManager.instance.PlaySound("menus");
    }