Hey,
For a while I've been using your conersation asset for the game I've been developing, I'd inheritted the project from a previous developer and noticed that the asset was quite old so I decided to update to the most recent version. In doing so I've created a problem for myself. Previously, when conversations took place between an NPC and the player, whenever the player was speaking, they actor image would stay as the NPC, not changing to the player image which was desired outcome. However, with the newly updated version, as there is no player image assigned, the NPC image just dissapears when its the players turn to speak.
I'm wondering if by updating I've overwritten something in one of the UI scripts that disabled the image change when the player was speaking, and if so, where might I look to disable this again?
Thanks.
Disabling Actor image changing.
Re: Disabling Actor image changing.
Hi,
It's possible that your predecessor edited one of the UI scripts directly and those edits were overwritten by the update. In any case, you probably don't need to edit any scripts.
What GUI system are you using for the dialogue UI?
If you inspect the dialogue UI and the script is UnityUIDialogueUI, it's using Unity UI. In this case, one solution is to tick NPC Subtitle > Always Visible, and unassign PC Subtitle > Portrait Image. This will keep the NPC panel, including the portrait image, visible, and it won't assign the PC portrait to the image.
If the script is UnityDialogueUI, on the other hand, it's legacy Unity GUI. If it's this or something else such as NGUIDialogueUI, please let me know and I'll suggest some similar steps.
Please also feel free to send me a project and let me know what version of Unity to use. I'll be happy to take a look.
It's possible that your predecessor edited one of the UI scripts directly and those edits were overwritten by the update. In any case, you probably don't need to edit any scripts.
What GUI system are you using for the dialogue UI?
If you inspect the dialogue UI and the script is UnityUIDialogueUI, it's using Unity UI. In this case, one solution is to tick NPC Subtitle > Always Visible, and unassign PC Subtitle > Portrait Image. This will keep the NPC panel, including the portrait image, visible, and it won't assign the PC portrait to the image.
If the script is UnityDialogueUI, on the other hand, it's legacy Unity GUI. If it's this or something else such as NGUIDialogueUI, please let me know and I'll suggest some similar steps.
Please also feel free to send me a project and let me know what version of Unity to use. I'll be happy to take a look.