Example #1
0
 private static void OnPostRender(Camera cam)
 {
     if (OnPostRenderCam == null)
     {
         OnPostRenderCam = cam;
     }
     if (OnPostRenderCam == cam)
     {
         CumCoroutines.ProcessWaitForEndOfFrame();
     }
 }
Example #2
0
 public object StartCoroutine(IEnumerator coroutine) => CumCoroutines.Start(coroutine);
Example #3
0
 public void StopCoroutine(object coroutineToken) => CumCoroutines.Stop((IEnumerator)coroutineToken);
Example #4
0
 void FixedUpdate()
 {
     CumHandler.OnFixedUpdate();
     CumCoroutines.ProcessWaitForFixedUpdate();
 }
Example #5
0
 void Update()
 {
     transform.SetAsLastSibling();
     CumHandler.OnUpdate();
     CumCoroutines.Process();
 }