Beispiel #1
0
 void OnTriggerEnter(Collider other)
 {
     if (!mIsEnabled)
     {
         return;
     }
     stateMgr.DamagePlayer();
     playerAnimator.Play("Damaged");
 }