Page 1 of 1

Selector GUI not updating

Posted: Thu Jan 25, 2024 3:27 pm
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.

Re: Selector GUI not updating

Posted: Thu Jan 25, 2024 3:32 pm
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: