Ejemplo n.º 1
0
        public static void TriggerEvent(string eventName, GameEventArgs args)
        {
            GameEvent thisEvent = null;

            if (Instance.eventDictionary.TryGetValue(eventName, out thisEvent))
            {
                thisEvent.Invoke(args);
            }
        }