Search found 20701 matches

by Tony Li
Tue May 07, 2024 8:26 am
Forum: Dialogue System for Unity
Topic: conversation in a script
Replies: 1
Views: 17

Re: conversation in a script

Hi,

DialogueManager.StartConversation() is the way to start a conversation in script. It doesn't pause; it just starts the conversation. You can pause the game yourself before or after calling that method.

Alternatively, you can also configure a Dialogue System Trigger and call its OnUse() method.
by Tony Li
Mon May 06, 2024 5:07 pm
Forum: Dialogue System for Unity
Topic: Quick way to see which conversation is currently playing
Replies: 1
Views: 16

Re: Quick way to see which conversation is currently playing

Hi, Yes, if you don't see "Dialogue System: Conversation ending" that corresponds with a "Dialogue System: Starting conversation..." then it hasn't ended. Another way to check is to open the Dialogue Editor and inspect the conversations. If a conversation is active, one of them w...
by Tony Li
Mon May 06, 2024 9:42 am
Forum: Dialogue System for Unity
Topic: Scene manager
Replies: 3
Views: 27

Re: Scene manager

If you're using the Input System, change this: if (InputDeviceManager.IsKeyDown(KeyCode.Escape)) to: if (InputDeviceManager.IsButtonDown("Cancel")) and register "Cancel" with the Input Device Manager as shown in the Dialogue System's Input System tutorial video or page 5 of Input...
by Tony Li
Mon May 06, 2024 8:58 am
Forum: Dialogue System for Unity
Topic: How to add/subtract int in C#
Replies: 5
Views: 37

Re: How to add/subtract int in C#

Glad to help!
by Tony Li
Mon May 06, 2024 8:22 am
Forum: Dialogue System for Unity
Topic: How to add/subtract int in C#
Replies: 5
Views: 37

Re: How to add/subtract int in C#

Sorry, I had a typo. It was missing "Coin". I just fixed my previous reply.
by Tony Li
Mon May 06, 2024 8:22 am
Forum: Dialogue System for Unity
Topic: Doozy UI with Dialogue System
Replies: 1
Views: 22

Re: Doozy UI with Dialogue System

Hi,

What questions have you encountered when following the instructions in that link?

The integration doesn't cover the Proximity Selector, but you could add a popup UI to the Usable GameObject (e.g., NPC) and configure the Usable component's Events > OnSelect() and OnDeselect() events.
by Tony Li
Mon May 06, 2024 8:20 am
Forum: Dialogue System for Unity
Topic: Scene manager
Replies: 3
Views: 27

Re: Scene manager

Hi, If I understand you correctly, you want to change scenes after a video has finished playing. This may require a short script. Maybe something like: using System.Collections; using UnityEngine; using UnityEngine.Video; using PixelCrushers; public class LoadSceneAfterVideo : MonoBehaviour { public...
by Tony Li
Mon May 06, 2024 8:06 am
Forum: Dialogue System for Unity
Topic: How to add/subtract int in C#
Replies: 5
Views: 37

Re: How to add/subtract int in C#

Hi, If you want to add or subtract a C# variable from within a conversation (e.g., a dialogue entry's Script field), please see How To: Connect C# Variables to Dialogue System's Lua . If you want to add or subtract a Dialogue System Lua variable variable from within C#, use DialogueLua .GetVariable(...
by Tony Li
Sun May 05, 2024 10:39 pm
Forum: Dialogue System for Unity
Topic: Camera follow player walking during sequence
Replies: 9
Views: 101

Re: Camera follow player walking during sequence

Hi, Assuming that vcam is taking priority (i.e., it has the highest Priority value of all vcam in the scene after using the CinemachinePriority() sequencer command), then it's a configuration issue with your vcam. Try searching up tutorial videos on YouTube, such as: [media]https://www.youtube.com/w...