Answers for "unity get x position"

C#
1

unity get x position

float x = transform.position.x;
Posted by: Guest on November-22-2020
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

C# Answers by Framework

Browse Popular Code Answers by Language