예제 #1
0
 public void Start()
 {
     this.aviao                 = GameObject.FindObjectOfType <AviaoSinglePlayer>();
     this.pontuacao             = GameObject.FindObjectOfType <PontuacaoSinglePlayer>();
     this.interfaceGameOver     = GameObject.FindObjectOfType <InterfaceGameOver>();
     this.controleDeDificuldade = GameObject.FindObjectOfType <ControleDeDificuldade>();
 }
예제 #2
0
 protected virtual void Start()
 {
     this.pontucoes             = GameObject.FindObjectsOfType <Pontuacao>();
     this.interfaceGameOver     = GameObject.FindObjectOfType <InterfaceGameOver>();
     this.avioes                = GameObject.FindObjectsOfType <Aviao>();
     this.controleDeDificuldade = GameObject.FindObjectOfType <ControleDeDificuldade>();
 }
예제 #3
0
 private void Start()
 {
     this.aviao                 = GameObject.FindObjectOfType <Aviao>();
     this.pontuacao             = GameObject.FindObjectOfType <Pontuacao>();
     this.maoPiscando           = GameObject.FindObjectOfType <MaoPiscando>();
     this.interfaceGameOver     = GameObject.FindObjectOfType <InterfaceGameOver>();
     this.controleDeDificuldade = GameObject.FindObjectOfType <ControleDeDificuldade>();
 }
예제 #4
0
 protected virtual void Start()
 {
     this.aviao                 = GameObject.FindObjectOfType <Aviao> ();
     this.pontuacao             = GameObject.FindObjectOfType <Pontuacao> ();
     this.interfaceGameOver     = GameObject.FindObjectOfType <InterfaceGameOver> ();
     this.dificuldade           = GameObject.FindObjectOfType <ControleDeDificuldade> ();
     this.animacaoTutorial      = GameObject.FindGameObjectWithTag(LiteralStrings.CanvasTutorial);
     this.jogador               = FindObjectOfType <ControlaJogador>();
     this.geradoresDeObstaculos = FindObjectsOfType <GeradorDeObstaculos>();
 }
예제 #5
0
 private void Start()
 {
     this.aviao             = GameObject.FindObjectOfType <Aviao>();
     this.pontucao          = GameObject.FindObjectOfType <Pontuacao>();
     this.interfaceGameOver = GameObject.FindObjectOfType <InterfaceGameOver>();
 }
예제 #6
0
 protected virtual void Start()
 {
     this.aviao             = GameObject.FindObjectOfType <Aviao>();
     this.pontuacao         = GameObject.FindObjectOfType <Pontuacao>();
     this.interfaceGameOver = GameObject.FindObjectOfType <InterfaceGameOver>();
 }
예제 #7
0
 protected virtual void Start()
 {
     pontuacao         = FindObjectOfType <Pontuacao>();
     interfaceGameOver = FindObjectOfType <InterfaceGameOver>();
     player            = FindObjectOfType <Player>();
 }