Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
 
PREVIOUS NEXT
Tagged: #position #object #unity
ADD COMMENT
Topic
Name
1+5 =