public void Expand(int count) { int current = Count; Array.Resize(ref items, current + count); onSizeChanged.Invoke(current, current + count); }
public static void TriggerIntIntEvent(string eventName, int input1, int input2) { UnityIntIntEvent thisEvent = null; if (instance.intIntEventDictionary.TryGetValue(eventName, out thisEvent)) { thisEvent.Invoke(input1, input2); } }