Answers for "how to get x position in unity"

C#
1

unity how to set an objects postion x,y,z

transform.position = new Vector3(x, y, z);
Posted by: Guest on January-17-2020
1

unity get x position

float x = transform.position.x;
Posted by: Guest on November-22-2020

Code answers related to "how to get x position in unity"

C# Answers by Framework

Browse Popular Code Answers by Language