Example #1
0
                public void CallUpdateListenerEvent()
                {
                    int count = 0;

                    while (count++ < 5)
                    {
                        UpdateListenerEvent?.Invoke();
                    }
                }
Example #2
0
                public void CallUpdateListenerEventTooManyTimes()
                {
                    int count = 0;

                    while (count++ < 100)
                    {
                        Debug.Log("Calling Update Event.");
                        UpdateListenerEvent?.Invoke();
                    }
                }