Beispiel #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.tag == m_cArm.m_cTarget.tag)
     {
         m_bHit = true;
         m_cArm.Attack();
         m_cCollider.enabled = false;
         //Debug.Log("OnTriggerEnter:" + other.gameObject.name);
     }
 }