Beispiel #1
0
    void Start()
    {
        menuController = GetComponent<MenuKeysController>();
        credits = GetComponent<CreditsScreen>();
        credits.enabled = false;
        tutorial = GetComponent<TutorialScreen>();
        tutorial.enabled = false;

        rect = new Rect(Screen.width / 2 - LarguraTitulo / 2, 60, LarguraTitulo, 100);
    }
 void Start()
 {
     explosionPrefab = Explosion;
     info = GetComponent<WaitingScreen>();
     info.enabled = false;
     pause = GetComponent<MenuKeysController>();
     pause.enabled = false;
     hud = GetComponent<GameHUD>();
     hud.enabled = false;
     end = GetComponent<EndGame>();
     end.enabled = false;
     alpha = GetComponent<AlphaBackground>();
     alpha.enabled = false;
 }