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