Пример #1
0
            public void Deactivate()
            {
                ExecuteDeactivationActions();

                if (_superstate != null)
                {
                    _superstate.Deactivate();
                }
            }
Пример #2
0
            public void Deactivate()
            {
                if (!active)
                {
                    return;
                }

                ExecuteDeactivationActions();
                active = false;

                if (_superstate != null)
                {
                    _superstate.Deactivate();
                }
            }