.
This commit is contained in:
parent
f5dbd5c1c9
commit
fdb057ad8e
@ -12,7 +12,8 @@ public class PlayerController : MonoBehaviour
|
|||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
// transform.position += new Vector3(0, 0, 1) * 0.01f;
|
// transform.position += new Vector3(0, 0, 1) * 0.01f;
|
||||||
transform.position += Vector3.forward * 0.01f;
|
// transform.position += Vector3.forward * 0.01f;
|
||||||
|
transform.Translate(Vector3.forward * 0.01f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user