Inheritance: MonoBehaviour
Esempio n. 1
0
 // Start is called before the first frame update
 void Awake()
 {
     barraDeVida_ref = GameObject.Find("Game").GetComponent <BarraDeVida>();
     animator        = GetComponent <Animator>();
     rigidbody2D_    = GetComponent <Rigidbody2D>();
     //spawnarGhost_ref = GetComponent<SpawnarGhost>();
 }
Esempio n. 2
0
 private void Awake()
 {
     barraDeVida_ref    = GameObject.Find("Game").GetComponent <BarraDeVida>();
     spawnInimigo_ref   = GetComponent <SpawnInimigo>();
     spawnarAlga_ref    = GetComponent <SpawnarAlga>();
     spawnarGhost_ref   = GetComponent <SpawnarGhost>();
     spawnarTesouro_ref = GetComponent <SpawnarTesouro>();
 }
Esempio n. 3
0
 // Start is called before the first frame update
 private void Awake()
 {
     barraDeVida_ref           = GameObject.Find("Game").GetComponent <BarraDeVida>();
     movimentacaoColisores_ref = GameObject.Find("ColisorDetras").GetComponent <MovimentacaoColisores>();
 }
 private void Awake()
 {
     barraDeVida_ref = GameObject.Find("Game").GetComponent <BarraDeVida>();
     parallax_ref    = GameObject.Find("7Clouds").GetComponent <Parallax>();
 }
Esempio n. 5
0
 private void Awake()
 {
     barraDeVida_ref = GameObject.Find("Game").GetComponent <BarraDeVida>();
     cameraMove_ref  = GameObject.Find("MainCamera").GetComponent <cameraMove>();
 }
 private void Awake()
 {
     barraDeVida_ref = GameObject.Find("Cascudo").GetComponent <BarraDeVida>();
     parallax_ref    = GameObject.Find("2Layer2").GetComponent <Parallax>();
 }
Esempio n. 7
0
 private void Awake()
 {
     spawnInimigo_ref = GetComponent <SpawnInimigo>();
     barraDeVida_ref  = GameObject.Find("Game").GetComponent <BarraDeVida>();
     //habilidadesGeraisInimigo_ref = GameObject.Find("Tubarao").GetComponent<HabilidadesGeraisInimigo>();
 }
Esempio n. 8
0
 private void Awake()
 {
     barraDeVida_ref    = GameObject.Find("Game").GetComponent <BarraDeVida>();
     playerMovimentacao = GameObject.Find("Cascudo").GetComponent <PlayerMovimentacao>();
 }
Esempio n. 9
0
 private void Awake()
 {
     barraDeVida_ref    = GameObject.Find("Game").GetComponent <BarraDeVida>();
     spriteRenderer_ref = GameObject.Find("GameOver").GetComponent <SpriteRenderer>();
 }