Search found 20825 matches

by Tony Li
Sat May 25, 2024 9:16 am
Forum: Dialogue System for Unity
Topic: UI Bar connected to Variables
Replies: 11
Views: 152

Re: UI Bar connected to Variables

Are you using the second version of the method with the Debug.Log line? It should show something. Since it reports line 21, I suspect it's not using the second version. Try this: void OnVariableChanged(string variableName, object variableValue) { Debug.Log($"{variableName} changed to {variableV...
by Tony Li
Sat May 25, 2024 9:14 am
Forum: Dialogue System for Unity
Topic: Audio Dialogue on Hover
Replies: 7
Views: 85

Re: Audio Dialogue on Hover

Do the scripts show any red-underlined errors?

Can you send a reproduction project to tony (at) pixelcrushers.com?

Can you look at the Hover Example (direct download) available on the Dialogue System Extras page?
by Tony Li
Fri May 24, 2024 2:16 pm
Forum: Dialogue System for Unity
Topic: Turning off conversation UI for internal dialogue UI
Replies: 7
Views: 218

Re: Turning off conversation UI for internal dialogue UI

Hi,

Since you're using an Override Dialogue UI component on a GameObject, then if the GameObject is the conversation's primary actor or conversant (see here for details), it should use the dialogue UI that you've assigned to the Override Dialogue UI component.
by Tony Li
Fri May 24, 2024 2:14 pm
Forum: Dialogue System for Unity
Topic: UI Bar connected to Variables
Replies: 11
Views: 152

Re: UI Bar connected to Variables

Hi,

Does the Debug.Log line appear at all in the Console?
by Tony Li
Fri May 24, 2024 2:14 pm
Forum: Dialogue System for Unity
Topic: Audio Dialogue on Hover
Replies: 7
Views: 85

Re: Audio Dialogue on Hover

Do your buttons have StandardUIResponseButton components? That's a requirement for dialogue UIs. Those StandardUIResponseButton components should be assigned to the StandardUIMenuPanel component's Buttons list. See: Dialogue UIs (video tutorials)
by Tony Li
Fri May 24, 2024 12:23 pm
Forum: Dialogue System for Unity
Topic: Animation play on specific DialogueEntry
Replies: 1
Views: 33

Re: Animation play on specific DialogueEntry

hi, It will look for an Animator on children, too. Is it finding the correct GameObject named "Mike"? Since you've omitted the subject parameter (which is probably the right thing to do), it will use the speaker GameObject. See: Character GameObject Assignments to confirm that the correct ...
by Tony Li
Fri May 24, 2024 12:20 pm
Forum: Dialogue System for Unity
Topic: UI Bar connected to Variables
Replies: 11
Views: 152

Re: UI Bar connected to Variables

Try adding a Debug.Log to check if the variable changed method is being called: void OnVariableChanged(string variableName, object variableValue) { Debug.Log($"{variableName} changed to {variableValue}"); if (variableName == "Confidence") scoreSlider.value = (float)variableValue;...
by Tony Li
Fri May 24, 2024 12:20 pm
Forum: Dialogue System for Unity
Topic: Audio Dialogue on Hover
Replies: 7
Views: 85

Re: Audio Dialogue on Hover

Hi,

That's a different error. Change the red underlined "responseButton.dialogueEntry" to "response.destinationEntry".
by Tony Li
Fri May 24, 2024 12:18 pm
Forum: Dialogue System for Unity
Topic: Turning off conversation UI for internal dialogue UI
Replies: 7
Views: 218

Re: Turning off conversation UI for internal dialogue UI

Hi,

How do you have it configured? Are you using an Override Dialogue UI component?