using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { void Start() { } void Update() { // transform.position += new Vector3(0, 0, 1) * 0.01f; // transform.position += Vector3.forward * 0.01f; transform.Translate(Vector3.forward * 0.01f); } } /* Vector3.forward = Vector3(0, 0, 1) Vector3.up = Vector3(0, 1, 0) Vector3.right = Vector3(1, 0, 0) Vector3.one = Vector3(1, 1, 1) Vector3.zero = Vector3(0, 0, 0) */