예제 #1
0
 private void LateUpdate()
 {
     if (OnLateUpdateEvent != null)
     {
         OnLateUpdateEvent.Invoke();
     }
 }
예제 #2
0
        public bool RunEvent(EventState eventState)
        {
            switch (eventState)
            {
            case EventState.None:
                return(true);

            case EventState.Input:
                return(true);

            case EventState.Start:
                return(true);

            case EventState.Update:
                onUpdateEvent.Invoke();
                return(true);

            case EventState.LateUpdate:
                onLateUpdateEvent.Invoke();
                return(true);

            case EventState.Destroy:
                onDestroyEvent.Invoke();
                return(true);

            default:
                return(false);
            }
        }
예제 #3
0
 private void LateUpdate()
 {
     OnLateUpdateEvent?.Invoke();
     OnLateUpdateAction?.Invoke();
 }