Example #1
0
        public void Expand(int count)
        {
            int current = Count;

            Array.Resize(ref items, current + count);

            onSizeChanged.Invoke(current, current + count);
        }
Example #2
0
    public static void TriggerIntIntEvent(string eventName, int input1, int input2)
    {
        UnityIntIntEvent thisEvent = null;

        if (instance.intIntEventDictionary.TryGetValue(eventName, out thisEvent))
        {
            thisEvent.Invoke(input1, input2);
        }
    }