Question by
Gabahulk · May 23, 2020 at 12:00 AM ·
uirecttransform
How can I position a rect transform inside another via code?
Hello! I'm trying to position a rect transform that is inside another rect transform, but I'm having a really hard time. I want to make a bar that has a marking that can be set via code like in the images below
![SetGreenRect(0.2);][1] [1]: https://imgur.com/jtGB1xT
![SetGreenRect(0.7);][2] [2]: https://imgur.com/See2ud9
Comment
Your answer
Follow this Question
Related Questions
Runtime GUI Positioning - Making Chat 0 Answers
Instantiating UI buttons relative to text above? 0 Answers
RectTransform Left Right Bottom Top 0 Answers
Moving UI Image 0 Answers
UI Resets Position After Saving 0 Answers