Ok, I’m working on the dialog for my game. I have the dialog box up and running and the text I want appears how I want it to. Only thing is I want the portrait of the character who is talking to appear next to the text. I know how to create the UI image but I just don’t know to automatically replace the default image with the character’s portrait via scripting. Could someone help me please? I’m coding in C#
Nevermind I figured it out! If anyone wants to know how, leave the comment and I’ll upload my script.
Layout elements are the king here. Using a combination of the various layout groups, layout elements, and blank space you can create pretty much any layout you want. No scripting required.