unity change player position code example Example: unity3d change player position transform.position = new Vector3(0f, 0f, 0f);