Page 1 of 1

Custom Gui Skin for Proximity Selector not showing

Posted: Fri Jun 30, 2023 2:17 pm
by ehdusjenny
Hi Tony,

I've configured a custom Gui Skin for my main actor's proximity selector component. This custom Gui Skin has a custom background and font. However, I'll still seeing the default GUI skin when I play and approach other interactable actors.

I've attached pictures of my configurations. Would you know why this is happening? Thank you in advance!

Re: Custom Gui Skin for Proximity Selector not showing

Posted: Fri Jun 30, 2023 2:40 pm
by Tony Li
Hi,

If the GameObject with the Proximity Selector also has a Selector Use Standard UI Elements component, your proximity selector is a Unity UI-based Standard UI Selector Elements. You can either remove the Selector Use Standard UI Elements component, in which case it will use your GUI skin, or you can duplicate the Basic Standard UI Selector Elements prefab, assign the duplicate to the Dialogue Manager GameObject's Instantiate Prefabs components > Prefabs list in place of the original, and customize the duplicate to look the way you want.

Re: Custom Gui Skin for Proximity Selector not showing

Posted: Fri Jun 30, 2023 3:14 pm
by ehdusjenny
Ah yes it also has the Selector Use Standard UI Elements component. I went with your second suggestion to use the Standard UI elements. Thank you for your help!

Re: Custom Gui Skin for Proximity Selector not showing

Posted: Fri Jun 30, 2023 3:34 pm
by Tony Li
Glad to help!