public static void TriggerEvent(string eventName, object arg1, object arg2)
        {
            UnityTwoArgsEvent thisEvent = null;

            if (instance.eventTwoArgsDictionary != null && instance.eventTwoArgsDictionary.Count > 0 && instance.eventTwoArgsDictionary.ContainsKey(eventName) && instance.eventTwoArgsDictionary.TryGetValue(eventName, out thisEvent))
            {
                thisEvent.Invoke(arg1, arg2);
            }
        }
        public static void TriggerEvent(string eventName, object arg1, object arg2)
        {
            UnityTwoArgsEvent thisEvent = null;

            if (instance.eventTwoArgsDictionary.TryGetValue(eventName, out thisEvent))
            {
                thisEvent.Invoke(arg1, arg2); // Run all listener functions associated with this event.
            }
        }