move player to location unity code example Example: set player position unity transform.position = new Vector3(0, 0, 0);//x, y, z