Changing the place of the override name

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Oskar
Posts: 15
Joined: Wed May 17, 2023 6:18 am

Changing the place of the override name

Post by Oskar »

Hi!

I can't seem to find how to move the override name on the screen; I mean the one appearing when hovering the cursor on the NPC. I'd like for it to appear on top of the character I'm hovering my cursor over, instead of the middle top of the screen. Any ideas on how to do this?

Thank you!
Attachments
overrrideName.jpg
overrrideName.jpg (85.49 KiB) Viewed 218 times
suisei
Posts: 10
Joined: Tue Aug 22, 2023 7:45 am

Re: Changing the place of the override name

Post by suisei »

I think object with text (name) should be placed under the object with character. So when your character is moved, the text will also be moved.
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Changing the place of the override name

Post by Tony Li »

Hi,

1. Locate Plugins > Pixel Crushers > Dialogue System > Prefabs > Standard UI Templates > Templates > Basic > Basic Standard Usable UI. Right-click and select Create > Prefab Variant.

2. Move this prefab variant into your own folder.

3. Add the prefab variant as a child of the NPC's GameObject. Play the scene and make sure it appears over the NPC. Once you've confirmed this, you can customize its appearance.
Post Reply