Display portrait name in front of text panel
-
- Posts: 4
- Joined: Tue Oct 29, 2024 10:27 pm
Display portrait name in front of text panel
I would like to display the name of a portrait above a text panel, similar to the attached image, with the text panel in the foreground. However, I’m having trouble with the hierarchy structure and managing visibility controls. If anyone has implemented something like this before, I would greatly appreciate any advice. Thank you for this amazing addon.
- Attachments
-
- FGykSeaakAU52uy.jpg (226.56 KiB) Viewed 833 times
Re: Display portrait name in front of text panel
Hi,
Unity UI draws UI elements from the top of the hierarchy to the bottom, which means the last element in the hierarchy is drawn on top of everything else. You can move the portrait name to the bottom of the hierarchy:
Unity UI draws UI elements from the top of the hierarchy to the bottom, which means the last element in the hierarchy is drawn on top of everything else. You can move the portrait name to the bottom of the hierarchy:
-
- Posts: 4
- Joined: Tue Oct 29, 2024 10:27 pm
Re: Display portrait name in front of text panel
Thank you for your answer!
Sorry for the basic question
I successfully solved the problem using the method you taught me. thank you!
Sorry for the basic question
I successfully solved the problem using the method you taught me. thank you!
-
- Posts: 4
- Joined: Tue Oct 29, 2024 10:27 pm
Re: Display portrait name in front of text panel
sorry
Let me ask you just one more question.
When a conversation begins, the player's name and NPC's name are displayed at the same time.
The attached image is a screenshot of the hierarchy, but is it still not possible to delete the ResponseMenuPanel?
Let me ask you just one more question.
When a conversation begins, the player's name and NPC's name are displayed at the same time.
The attached image is a screenshot of the hierarchy, but is it still not possible to delete the ResponseMenuPanel?
- Attachments
-
- スクリーンショット 2024-10-30 231451.png (11.08 KiB) Viewed 811 times
-
- スクリーンショット 2024-10-30 231432.png (146.24 KiB) Viewed 811 times
Re: Display portrait name in front of text panel
Hi,
Set the subtitle panels' Visibility dropdowns to Until Superceded Or Menu Or Actor Change. This will make only one portrait name visible at a time.
The response menu panel should stay invisible unless the conversation needs to show a response menu.
Set the subtitle panels' Visibility dropdowns to Until Superceded Or Menu Or Actor Change. This will make only one portrait name visible at a time.
The response menu panel should stay invisible unless the conversation needs to show a response menu.
-
- Posts: 4
- Joined: Tue Oct 29, 2024 10:27 pm
Re: Display portrait name in front of text panel
thank you!
I successfully solved it with that method!
I successfully solved it with that method!
Re: Display portrait name in front of text panel
Glad to help!