unity how to change position of character code example Example: set player position unity transform.position = new Vector3(0, 0, 0);//x, y, z