Пример #1
0
 public void Move(Cube moveCube, Vector3 direction, float correctTime)
 {
     moveCube.transform.Translate(direction * _speed * correctTime);
     moveCube.AddDistance(_speed * correctTime);
 }