Ejemplo n.º 1
0
        protected void TerminateConstruction()
        {
            TerminateConstructionInternal();
            UnityAction <BaseMenu> cb = TemporaryVariableManager.GetTemporaryVariable <UnityAction <BaseMenu> >(this, _onConstructionCompleteCBIndex);

            cb?.Invoke(this);
        }
Ejemplo n.º 2
0
        protected void TerminateTransitionIn()
        {
            TerminateTransitionInInternal();
            UnityAction <BaseMenu> cb = TemporaryVariableManager.GetTemporaryVariable <UnityAction <BaseMenu> >(this, _onTransitionInCBIndex);

            cb?.Invoke(this);
        }
Ejemplo n.º 3
0
        protected void TerminateTransitionOut()
        {
            TerminateTransitionOutInternal();
            UnityAction <BaseMenu> cb = TemporaryVariableManager.GetTemporaryVariable <UnityAction <BaseMenu> >(this, _onTransitionOutCBIndex);

            cb?.Invoke(this);
            _baseMenuFSM.SetState(BaseMenuStates.Disabled);
        }
Ejemplo n.º 4
0
        protected void TerminateDestruction()
        {
            TerminateDestructionInternal();
            UnityAction <BaseMenu> cb = TemporaryVariableManager.GetTemporaryVariable <UnityAction <BaseMenu> >(this, _onDestructionCompleteCBIndex);

            cb?.Invoke(this);

            // I mean 0 offense when i say this, buuuuuuut....
            // ALLAHU AKBAR!
            GameObject.Destroy(this.gameObject);
        }