// 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>(); }
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>(); }
// 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>(); }
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>(); }
private void Awake() { spawnInimigo_ref = GetComponent <SpawnInimigo>(); barraDeVida_ref = GameObject.Find("Game").GetComponent <BarraDeVida>(); //habilidadesGeraisInimigo_ref = GameObject.Find("Tubarao").GetComponent<HabilidadesGeraisInimigo>(); }
private void Awake() { barraDeVida_ref = GameObject.Find("Game").GetComponent <BarraDeVida>(); playerMovimentacao = GameObject.Find("Cascudo").GetComponent <PlayerMovimentacao>(); }
private void Awake() { barraDeVida_ref = GameObject.Find("Game").GetComponent <BarraDeVida>(); spriteRenderer_ref = GameObject.Find("GameOver").GetComponent <SpriteRenderer>(); }