void OnEnable() { EventsManager.ADD_OnScoreChangedListener(UpdateUI); UpdateUI(ScoreManager.CurrentScore); }
void OnEnable() { EventsManager.ADD_OnLevelStartListener(StartRockSpawn); EventsManager.ADD_OnScoreChangedListener(StartPlaneSpawn); }