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

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

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