Assets/BrightBit/EventSystem/EventDirector.cs
/// <summary>
/// Instantiates all Event fields and subscribes all objects that
/// might have tried to subscribe while this instance wasn't awake.
/// </summary>
Instantiates all Event fields and subscribes all objects that
might have tried to subscribe while this instance wasn't awake.
Instantiates all Event fields and subscribes all objects that might have tried to subscribe while this instance wasn ' t awake .
protected virtual void Awake()
    {
        InstantiateAllEventFields();
        initialized = true;
        foreach (object observer in pendingObservers)
        {
            Subscribe(observer);
        }
        pendingObservers.Clear();
    }
protected virtual void Awake ( ) { InstantiateAllEventFields ( ) ; initialized = true ; foreach ( object observer in pendingObservers ) { Subscribe ( observer ) ; } pendingObservers . Clear ( ) ; }
Instantiates all Event fields and subscribes all objects that
might have tried to subscribe while this instance wasn't awake.
Instantiates all Event fields and subscribes all objects that might have tried to subscribe while this instance wasn ' t awake .