Answers for "how to change the position of a gameobject in c# unity"

C#
3

how to change the position of a gameobject in c# unity

Vector3 pos = transform.position;
pos.x = 12;
transform.position = pos;
Posted by: Guest on November-23-2020

Code answers related to "how to change the position of a gameobject in c# unity"

C# Answers by Framework

Browse Popular Code Answers by Language