private void LateUpdate() { if (OnLateUpdateEvent != null) { OnLateUpdateEvent.Invoke(); } }
public CoreBehavior() { BehaviorManager.Get.AddBehavior(this); Start(); onUpdateEvent = Update; onLateUpdateEvent = LateUpdate; onDestroyEvent = OnDestroy; }
private void LateUpdate() { OnLateUpdateEvent?.Invoke(); OnLateUpdateAction?.Invoke(); }