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