Assets/Scripts/System/GameStateManager/GameStateManager.cs
/// <summary>
/// Hooks our events into the EventManager so we can be notified later.
/// </summary>
Hooks our events into the EventManager so we can be notified later.
Hooks our events into the EventManager so we can be notified later .
private void Initialize()
    {
        if (EventManager.Instance != null)
        {
            EventManager.StartListening("ChangeScene", ChangeSceneEvent);
            InitializeStateMachine();         
        }
    }
private void Initialize ( ) { if ( EventManager . Instance != null ) { EventManager . StartListening ( " " , ChangeSceneEvent ) ; InitializeStateMachine ( ) ; } }
Hooks our events into the EventManager so we can be notified later.
Hooks our events into the EventManager so we can be notified later .