I want to change the size of my Rect or RectTransform via C# script.
I dont want to use sizeDelta and
joyStickLeftRect.size = new Vector2(joyStickRadius, joyStickRadius);
this doesnt work for me…
HELP!!!
rectTransform.sizeDelta = new Vector2( yourWidth, yourHeight);