Example #1
0
 public void attack()
 {
     if (tTime > Time.time)
     {
         return;
     }
     kick.moveCollider(facing);
     kick.kick();
     player.anim.SetBool("attack", true);
     tTime = Time.time + cooldown;
 }