|
@@ -67,7 +67,6 @@ namespace Comp
|
|
{
|
|
{
|
|
if (!_isMoving) return;
|
|
if (!_isMoving) return;
|
|
var movingVector = CreateMovingVector(MovingSpeed);
|
|
var movingVector = CreateMovingVector(MovingSpeed);
|
|
- Debug.Log("moving vector is " + movingVector.x + ", " + movingVector.y + ", " + movingVector.z);
|
|
|
|
transform.position += movingVector * Time.deltaTime;
|
|
transform.position += movingVector * Time.deltaTime;
|
|
_movingTime -= Time.deltaTime;
|
|
_movingTime -= Time.deltaTime;
|
|
if (_movingTime <= 0)
|
|
if (_movingTime <= 0)
|