private void OnTriggerEnter(Collider other) { if (other.gameObject.CompareTag(playerTag)) { sc_enemiesAtk.SpectresAttack(stressDamage); Debug.Log("Hola"); } }
private void OnTriggerEnter(Collider other) { if (sc_ObjectM.blink == true && sc_ObjectM.isDenied == false) { if (other.gameObject.CompareTag(playerTag)) { sc_enemiesAtk.SpectresAttack(stressDamage); } } }