Quantcast
Viewing latest article 12
Browse Latest Browse All 23

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: ![alt text][1] Thanks! [1]: https://image.prntscr.com/image/ROaN3gNTRzSEdWgDt4whkg.png

Viewing latest article 12
Browse Latest Browse All 23

Trending Articles