// Start is called before the first frame update
 void Start()
 {
     transform.position = new Vector3(0, 0, 0);
     uiManager          = GameObject.Find("Game_UI").GetComponent <UiManager>();
     uiManager.UpdateLive(lives);
     audioSource = GetComponent <AudioSource>();
     gameManager = GameObject.Find("GameManager").GetComponent <GameManager>();
     game_IA     = GameObject.Find("Game_IA").GetComponent <Game_IA>();
 }
Exemple #2
0
 void Start()
 {
     uiManager = GameObject.Find("Game_UI").GetComponent <UiManager>();
     game_IA   = GameObject.Find("Game_IA").GetComponent <Game_IA>();
 }