Question by
Rukiryo · Jul 06, 2017 at 03:30 AM ·
c#uirecttransform
Runtime GUI Positioning - Making Chat
Hi,
I'm new to the new(ish) gui system and I'm confused as how to position elements at runtime on a RectTransform. A lot of threads online suggest localPosition but these threads also have someone saying this is a bad way of doing it. My question is, what's the proper way to do it?
I'm trying to make a chat window (think output) that displays messages with the most recent at the bottom.
Workflow in my mind: Spawn in my "Message" prefab, and bump the position of all other ones uwpards. Here's an image of what I have:
Thanks!
Comment