Exemple #1
0
 private void OnApplicationPause(bool pause)
 {
     if (null != ColaHelper.OnApplicationPause)
     {
         ColaHelper.OnApplicationPause(pause);
     }
     gameManager.OnApplicationPause(pause);
 }
Exemple #2
0
 private void OnApplicationQuit()
 {
     if (null != ColaHelper.OnApplicationQuit)
     {
         ColaHelper.OnApplicationQuit();
     }
     gameManager.OnApplicationQuit();
 }
Exemple #3
0
 private void LateUpdate()
 {
     if (null != ColaHelper.LateUpdate)
     {
         ColaHelper.LateUpdate(Time.deltaTime);
     }
     gameManager.LateUpdate(Time.deltaTime);
 }
Exemple #4
0
 private void FixedUpdate()
 {
     if (null != ColaHelper.FixedUpdate)
     {
         ColaHelper.FixedUpdate(Time.fixedDeltaTime);
     }
     gameManager.FixedUpdate(Time.fixedDeltaTime);
 }
Exemple #5
0
 void Update()
 {
     if (null != ColaHelper.Update)
     {
         ColaHelper.Update(Time.deltaTime);
     }
     gameManager.Update(Time.deltaTime);
 }