예제 #1
0
 private void Start()
 {
     aviao = FindObjectOfType <Aviao>();
     controlaDificuldade = FindObjectOfType <ControlaDificuldade>();
     geradorDeObstaculos = FindObjectOfType <GeradorDeObstaculos>();
     gameOverInterface   = FindObjectOfType <UIGameOver>();
     gameInterface       = FindObjectOfType <UIGameInterface>();
 }
예제 #2
0
 private void Start()
 {
     uiGameInterface = FindObjectOfType <UIGameInterface>();
 }