Beispiel #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.layer == LayerMask.NameToLayer("Player"))
     {
         mRunner.AddDamage(_Weapon._Damage);
         //Debug.Log ("It hit " + other.gameObject.name);
     }
 }