Exemplo n.º 1
0
 protected virtual void SubsystemChangeHandler(Subsystem.SubsystemType type)
 {
     if (type == Subsystem.SubsystemType.Pause)
     {
         PauseHandler();
     }
 }
Exemplo n.º 2
0
        protected virtual void SubsystemChangeHandler(Subsystem.SubsystemType type)
        {
            if (type == Subsystem.SubsystemType.NONE)
            {
                if (CurrentSubsystem != null)
                {
                    CurrentSubsystem.OnSubsystemChange -= SubsystemChangeHandler;

                    _subsystems.Pop();
                }
            }
        }