Answers for "get position of any gameobject in unity"

C#
6

get position of any gameobject in unity

GameObject.Find("Your_Name_Here").transform.position;
Posted by: Guest on August-04-2020
3

get position of gameobject unity

GameObject.FindGameObjectWithTag("Your_Tag_Here").transform.position;
Posted by: Guest on April-14-2020

Code answers related to "get position of any gameobject in unity"

C# Answers by Framework

Browse Popular Code Answers by Language