get actual transform position unity code example
Example 1: get position of any gameobject in unity
GameObject.Find("Your_Name_Here").transform.position;
Example 2: unity set position
// To set the position of a gameobject use the following
GameObject.transform.position = new Vector3(x, y, z);