Esempio n. 1
0
 private void FixedUpdate()
 {
     if (isReady)
     {
         var newPostion = bullet.GetBulletDistanceTraveled(direction);
         rb.MovePosition(rb.position + newPostion);
     }
 }