Page 1 of 1
Adding images of player and NPC
Posted: Sat May 18, 2024 2:33 pm
by hrohibil
Hello Tony
How do i a simple thing as NPC image and player image?
I tried but in the game view its empty..
Re: Adding images of player and NPC
Posted: Sat May 18, 2024 3:51 pm
by Tony Li
Hi,
Assign your portrait images to the actors' Portrait Sprites:
- actorPortraits.png (80.11 KiB) Viewed 426 times
Then make sure your subtitle panel's Portrait Image is assigned:
- portraitImage.png (283.45 KiB) Viewed 426 times
If that doesn't work, first look for any errors or warnings in your Console window.
If there are no errors or warnings, make sure the right dialogue UI is assigned to your Dialogue Manager's Display Settings > Dialogue UI, and that you've checked
Character GameObject Assignments.
Re: Adding images of player and NPC
Posted: Sun May 19, 2024 6:01 am
by hrohibil
Thank you Tony
I was editing or adding my image in the prefab rather than the editor
You are king..
Re: Adding images of player and NPC
Posted: Sun May 19, 2024 9:55 am
by Tony Li
Happy to help!