How do you access the rect or transform feature of a GUI element to be able to position and rotate by script
1 Answer
1RectTransform rt = GetComponent();
rt.position = new Vector3(x,y,z);
How do you access the rect or transform feature of a GUI element to be able to position and rotate by script
RectTransform rt = GetComponent();
rt.position = new Vector3(x,y,z);