Example #1
0
    public override void press()
    {
        Logger.Log("ContinueButton::press()", Logger.Level.INFO);

        parentPanel = gameObject.transform.parent.gameObject;

        //TODO manage stack of modal elements in ModalManager
        //ModalManager.unsetModal(parentPanel);
        ModalManager.unsetModal();
        GameStateController.get().tryUnlockPause();

        ModalManager.setModal(nextInfoPanel, true, nextInfoPanelContinue.gameObject, nextInfoPanelContinue.GetType().AssemblyQualifiedName);
    }