Exemplo n.º 1
0
        public void Move(float detla, float speed, Vector3 forward)
        {
            Vector3 pos = MainTransform.position;
            Vector3 to  = CommonMoveUnit.Move(pos, forward, detla, speed);

            MoveAll(to);
        }
Exemplo n.º 2
0
 public void Move(float delta)
 {
     position = CommonMoveUnit.Move(position, Forward, delta, forwardSpeed);
 }