I loaded the Demo1 and the same thing happened, the "SelectorUseStandardUIElements" is disabled on start up. I tried to enable it via script but the component can't be found, I then loaded the Demo1 in a new project and it worked fine, meaning that something is wrong in my project files maybe and not on the Dialogue Manager or Player in the hierarchy? (I've also checked them multiple times)Tony Li wrote: ↑Wed Nov 02, 2022 9:30 pm Hi,
Can you compare the setup to DemoScene1? Make a note of the components that are on the Player GameObject and the Dialogue Manager GameObject. In DemoScene1, the Player has a Selector instead of a Proximity Selector, so just pretend it's a Proximity Selector for the point of comparison.
How To Reference Savable Integers
-
- Posts: 60
- Joined: Thu Mar 24, 2022 12:07 am
Re: How To Reference Savable Integers
Re: How To Reference Savable Integers
That means the SelectorUseStandardUIElements component can't find a StandardUISelectorElements component in the scene. If it can't find a StandardUISelectorElements component, it will disable itself.
Check the "Basic Standard UI Selector Elements" prefab. Maybe its StandardUISelectorElements component got removed accidentally.
Check the "Basic Standard UI Selector Elements" prefab. Maybe its StandardUISelectorElements component got removed accidentally.
-
- Posts: 60
- Joined: Thu Mar 24, 2022 12:07 am
Re: How To Reference Savable Integers
I created a new project, changed the name of the standardUIselectorElements prefab in my current project, then dragged the prefab from the new project in, dragged it into my current dialogue manager, and now it works.Tony Li wrote: ↑Thu Nov 03, 2022 8:14 am That means the SelectorUseStandardUIElements component can't find a StandardUISelectorElements component in the scene. If it can't find a StandardUISelectorElements component, it will disable itself.
Check the "Basic Standard UI Selector Elements" prefab. Maybe its StandardUISelectorElements component got removed accidentally.
Great, thank you
Re: How To Reference Savable Integers
Glad to help!