Nice to see one of my tutorials made it to the front page of the search list! You can probably adapt my [dynamic drop down menu][1] for this purpose
For a scrolling set up I would suggest the following.
- Create a canvas
- Add a panel. Size the panel to match the size of your message display. Add a mask component.
- Make a child panel. Set it as the content of your mask above. Add a scroll rect. Add sliders if you want them. Add a content fitter and a vertical layout group
- Make a child text element. Add a layout group and size as you see fit. Make this a prefab, and delete it from the scene. (Sometimes it makes sense to give this element a panel and so forth as well).
- As each message comes in Intantiate a prefab via script. Set its parent to the panel object above. The scrollrect, mask and layout elements will take care of everything else for you.
[1]: http://youtu.be/0_QQtCyQ8aI
↧