public void Move(Cube moveCube, Vector3 direction, float correctTime) { moveCube.transform.Translate(direction * _speed * correctTime); moveCube.AddDistance(_speed * correctTime); }
public void Move(Cube moveCube, Vector3 direction, float correctTime) { moveCube.transform.Translate(direction * _speed * correctTime); moveCube.AddDistance(_speed * correctTime); }