예제 #1
0
 public void AttackHit(Hitter hitter)
 {
     m_EnemyTarget = hitter.GetHitColliderList()[0].gameObject;
 }
예제 #2
0
 public void ContactHit(Hitter hitter)
 {
     m_EnemyTarget             = hitter.GetHitColliderList()[0].gameObject;
     m_TimeSinceLastTargetView = m_LostTargetTime;
     CharacterAnimator.SetBool("TargetSpotted", IsEnemyTargetSpotted());
 }