예제 #1
0
 public void Battle()
 {
     _legs.Walk();
     _talker.Talk();
     _torso.Flex();
     _torso.Fight();
     _legs.Kick();
 }
예제 #2
0
파일: Foot.cs 프로젝트: Azirsec/Bodybuilder
 private void OnCollisionEnter(Collision collision)
 {
     if (!legs.getPlayerKicked())
     {
         if (collision.gameObject.GetComponent <PlayerStats>() != null)
         {
             legs.Kick();
             exists        = false;
             cooldowntimer = 5;
             GetComponent <BoxCollider>().enabled = false;
         }
     }
 }
예제 #3
0
 public void Battle()
 {
     _head.Talk();
     _legs.Kick();
 }