// Start is called before the first frame update void Start() { source = GetComponent <AudioSource>(); esm = esmagador.GetComponent <PEsmagad>(); e = esmaga.GetComponent <Esmaga>(); t = player.GetComponent <Tatu>(); }
// Start is called before the first frame update void Start() { t = tatu.GetComponent <Tatu>(); }
// Start is called before the first frame update void Start() { t = player.GetComponent <Tatu>(); source = GetComponent <AudioSource>(); }
//IEnumerator Gira() //{ // if (trigger) // { // transform.Rotate(0, 0, 5); // } // yield return new WaitForSeconds(0.05f); // StartCoroutine(Gira()); //} // Start is called before the first frame update void Start() { //StartCoroutine(Gira()); t = tatu.GetComponent <Tatu>(); }
// Start is called before the first frame update void Start() { source = GetComponent <AudioSource>(); t = tatu.GetComponent <Tatu>(); }