how to get object position in unity with c# code example
Example 1: get position of any gameobject in unity
GameObject.Find("Your_Name_Here").transform.position;
Example 2: get position of gameobject unity
GameObject.FindGameObjectWithTag("Your_Tag_Here").transform.position;