Beispiel #1
0
    public static void TriggerEventGo(string eventName, GameObject value)
    {
        UnityEventGo thisEvent = null;

        if (instance.eventDictionaryGo.TryGetValue(eventName, out thisEvent))
        {
            thisEvent.Invoke(value);
        }
    }