void Start()
 {
     hudManager        = HudManagerScript.instance;
     moedasManager     = MoedasManager.instance;
     checkPointManeger = CheckPointManeger.instance;
     gameController    = GameController.instance;
 }
 public void Message(int Msg, int Param1, int Param2)
 {
     if (StageManagerScript != null)
     {
         StageManagerScript.Message(Msg, Param1, Param2);
     }
     if (HudManagerScript != null)
     {
         HudManagerScript.Message(Msg, Param1, Param2);
     }
 }
Exemple #3
0
 private void ReleaseScript()
 {
     if (InputManagerScript)
     {
         InputManagerScript.Release();
     }
     if (DataManagerScript != null)
     {
         DataManagerScript.Release();
     }
     if (StageManagerScript != null)
     {
         StageManagerScript.Release();
     }
     if (HudManagerScript != null)
     {
         HudManagerScript.Release();
     }
 }
Exemple #4
0
 public void Update()
 {
     if (m_LoadStep != LOAD_STEP._NULL)
     {
         LoadStep();
     }
     if (GameManagerScript != null)
     {
         GameManagerScript.Update();
     }
     if (StageManagerScript != null)
     {
         StageManagerScript.Update();
     }
     if (HudManagerScript != null)
     {
         HudManagerScript.Update();
     }
 }
 void Awake()
 {
     instance = this;
 }
Exemple #6
0
 void Start()
 {
     hudManager  = HudManagerScript.instance;
     poolObjects = PoolObjects.instance;
     StartCoroutine("distribuirMoedas");
 }