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); } }
private void ReleaseScript() { if (InputManagerScript) { InputManagerScript.Release(); } if (DataManagerScript != null) { DataManagerScript.Release(); } if (StageManagerScript != null) { StageManagerScript.Release(); } if (HudManagerScript != null) { HudManagerScript.Release(); } }
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; }
void Start() { hudManager = HudManagerScript.instance; poolObjects = PoolObjects.instance; StartCoroutine("distribuirMoedas"); }