public void CallUpdateListenerEvent() { int count = 0; while (count++ < 5) { UpdateListenerEvent?.Invoke(); } }
public void CallUpdateListenerEventTooManyTimes() { int count = 0; while (count++ < 100) { Debug.Log("Calling Update Event."); UpdateListenerEvent?.Invoke(); } }