c# script set coordinates of gameobject code example
Example: unity set position
// To set the position of a gameobject use the following
GameObject.transform.position = new Vector3(x, y, z);
// To set the position of a gameobject use the following
GameObject.transform.position = new Vector3(x, y, z);