Selector GUI not updating

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Trashrat
Posts: 25
Joined: Fri Oct 13, 2023 11:38 am

Selector GUI not updating

Post by Trashrat »

Hey there,

I have a selector on my player character, and although some elements of the script are running fine in game, such as changing the button press to select and adding events, for some reason no GUI is updating.

I've attached an image of what the script looks like (just an attempt to make noticable differences on the most part) but the default values are still present in game mode.

Thanks.
Attachments
Selector.JPG
Selector.JPG (81.75 KiB) Viewed 475 times
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Selector GUI not updating

Post by Tony Li »

Hi,

Since Use Default GUI is unticked, the Selector will ignore the values of Gui Skin to Reticle since those are for the default GUI. Add a Selector Use Standard UI Elements component to the same GameObject as the Selector if it doesn't already have one. Then customize the selector UI as described here:

Post Reply