Removing name from the proximity selector label

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
mmopulencia
Posts: 15
Joined: Tue Aug 07, 2018 2:49 am

Removing name from the proximity selector label

Post by mmopulencia »

Hi!

Simple question , would just like to know how can i remove the name of the npc on the proximity selector ,.

it shows as

Mike
Press x to interact

id like it to just look like
Press x to interact.


Many thanks!
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Removing name from the proximity selector label

Post by Tony Li »

Hi!

Remove the Name Text from the selector UI panel.

Here are steps that will do this in DemoScene1:

1. Inspect the Dialogue Manager's Instantiate Prefabs component. Right-click on Prefabs > Element 0 (Basic Standard UI Selector Elements) and select Delete Array Element. Do this twice. The first time will clear the element, the second time will actually delete it.

2. Add an instance of the Basic Standard UI Selector Elements prefab to the Dialogue Manager's Canvas.

3. Expand its Main Selector Panel > Selection Text Panel, and delete Name Text.

This assumes your player has a Selector Use Standard UI Elements component like in DemoScene1.
mmopulencia
Posts: 15
Joined: Tue Aug 07, 2018 2:49 am

Re: Removing name from the proximity selector label

Post by mmopulencia »

Heya Tony,

Thank you for your reply, follow up question,

the proximity selector message , oddly shows up on top of the on going dialouge , its as if its a layer above it , is there a way for me to hide it behind the dialougue so it doesnt obstruct weirdly.
mmopulencia
Posts: 15
Joined: Tue Aug 07, 2018 2:49 am

Re: Removing name from the proximity selector label

Post by mmopulencia »

Hey Tony!

nvm the last question , figured it out. by adding dialogue system events.
Post Reply