예제 #1
0
    public static void TriggerEvent(string eventName, System.Object arg = null)
    {
        EventMsg thisEvent = null;

        if (Instance._eventDictionary.TryGetValue(eventName, out thisEvent))
        {
            thisEvent.Invoke(arg);
        }
    }
예제 #2
0
 public static void FireEventMsg(SyncProgressSummary summary)
 {
     EventMsg?.Invoke(summary);
 }