Ejemplo n.º 1
0
 public void MeetEnemy(GameObject teki)
 {
     if (m_Character.GetInvincible() == 0)
     {
         m_Character.mp2.velocity = Vector3.zero;
         c_stun      = (int)(60 * 0.25f);
         b_back_left = (teki.transform.position.x - transform.position.x) > 0 ? true : false;
         m_Status.GetDamage(teki.GetComponent <Status>());
         m_Character.SetInvincible(60);
     }
 }