void Awake() { SetSprites(); SRenderer = GetComponent <SpriteRenderer>(); rigidBody = GetComponent <Rigidbody2D>(); aud = GetComponent <AudioSource>(); zeroFire = GetComponent <ZeroFire>(); posicaoInicial = GameObject.Find("PosicaoInicial").GetComponent <Transform>(); //audSource = GetComponent<AudioSource>(); }
void Start() { hero = GetComponent <ClasseBase>(); zerofire = GetComponent <ZeroFire>(); }