Search found 20698 matches

by Tony Li
Mon May 06, 2024 9:42 am
Forum: Dialogue System for Unity
Topic: Scene manager
Replies: 3
Views: 22

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: 32

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: 32

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: 18

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: 22

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: 32

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: 8
Views: 89

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...
by Tony Li
Sun May 05, 2024 9:08 pm
Forum: Dialogue System for Unity
Topic: Camera follow player walking during sequence
Replies: 8
Views: 89

Re: Camera follow player walking during sequence

Hello, The first parameter to CinemachineTarget() should be the name of the virtual camera GameObject, not the name of the subject that it will follow. Instead of CinemachineTarget(), I recommend creating a vcam GameObject that is configured to follow Koza. Then set its Priority to 0, or whatever va...
by Tony Li
Sun May 05, 2024 12:15 pm
Forum: Dialogue System for Unity
Topic: Camera follow player walking during sequence
Replies: 8
Views: 89

Re: Camera follow player walking during sequence

Hi, If you were in 3D, I'd recommend using the LiveCamera() sequencer command that follows the subject, versus the Camera() sequencer command that records the destination position when the command starts and moves the camera there without following the subject. The 2D equivalent of Camera() is Zoom2...