コード例 #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
ファイル: Diretor.cs プロジェクト: ruawl/FlappyFlight
 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>();
 }