Exemplo n.º 1
0
 public void SetupLevel()
 {
     patternScreen = patternScreen?patternScreen: GetComponentInChildren <PatternScreen>(true);
     timer         = timer?timer: GetComponentInChildren <LevelTimer>(true);
     actualEditor  = actualEditor?actualEditor: GetComponentInChildren <TextEditorController>(true);
     patternScreen.gameObject.SetActive(true);
     patternScreen.FirstLaunch();
     timer.ResetTime();
     actualEditor.ResetEditor();
     levelStarted = false;
 }