Answers for "how to read position of a gameobject from another object unity"

C#
0

get position of another object unity

public Transform object;

float x  = object.position.x;

// change position one time 

object.position = new Vector3 (0,0,0);
Posted by: Guest on November-23-2021
0

get position of gameobject unity

Transform.position
Posted by: Guest on February-28-2022

Code answers related to "how to read position of a gameobject from another object unity"

C# Answers by Framework

Browse Popular Code Answers by Language