Search found 20 matches

by misaki_e
Sun Nov 13, 2022 10:00 pm
Forum: Dialogue System for Unity
Topic: How can I conditionally branch on the length of text entered in TextInput()?
Replies: 3
Views: 697

How can I conditionally branch on the length of text entered in TextInput()?

Hi,

If the player entered only one character as his/her name in the text input field, I would like to have a NPC ask the player something like "Are you sure?” How can I set the condition by the length of text entered?
by misaki_e
Tue Sep 06, 2022 11:08 pm
Forum: Dialogue System for Unity
Topic: How to show a timer when text field UI is shown?
Replies: 13
Views: 1374

Re: How to show a timer when text field UI is shown?

I reopened the project and somehow that solved it! The second time Text Input is called, it is also displayed properly. This is the current behavior: https://youtu.be/tEePKC5wDyM I'm not sure why it didn't work and how it was resolved…. but I’m glad that it seems all problems are solved. Thank you f...
by misaki_e
Tue Sep 06, 2022 10:54 pm
Forum: Dialogue System for Unity
Topic: How to show a timer when text field UI is shown?
Replies: 13
Views: 1374

Re: How to show a timer when text field UI is shown?

Thank you so much for your support! The issue of the slider being displayed from the beginning has been resolved with the updated script. However, when Text Input is displayed a second time, the entire Text Input UI is not displayed for some reason. Even though it is not displayed, the slider itself...
by misaki_e
Tue Sep 06, 2022 7:21 pm
Forum: Dialogue System for Unity
Topic: How to show a timer when text field UI is shown?
Replies: 13
Views: 1374

Re: How to show a timer when text field UI is shown?

Thank you for your quick reply, but unfortunately, both don't seem to solve the problems. First, my Title scene doesn't have a Dialogue Manager GameObject. Screen Shot 2022-09-07 at 8.07.51.png Therefore, I am unable to follow the steps you have given me. For the issue where the slider is visible at...
by misaki_e
Tue Sep 06, 2022 3:23 am
Forum: Dialogue System for Unity
Topic: How to show a timer when text field UI is shown?
Replies: 13
Views: 1374

Re: How to show a timer when text field UI is shown?

I thought I got the timer to display well with the script you provided me, but now I am running into two issues :cry: The first major problem is that it works when an “InGame" scene is loaded from a “Title" scene, but not when an "InGame" scene is played directly. First of all, w...
by misaki_e
Sun Sep 04, 2022 10:56 pm
Forum: Dialogue System for Unity
Topic: How to show a timer when text field UI is shown?
Replies: 13
Views: 1374

Re: How to show a timer when text field UI is shown?

Thank you for going to the trouble of providing a complete script! After confirming the script you provided, I finally understood that all I had to do was to create a custom sequence command by adding some code to show a Timer(slider) to the `TextInput` sequence command. Now I was able to accomplish...
by misaki_e
Sun Sep 04, 2022 4:53 am
Forum: Dialogue System for Unity
Topic: How to show a timer when text field UI is shown?
Replies: 13
Views: 1374

Re: How to show a timer when text field UI is shown?

Thanks to your answer I was able to create a custom sequencer command, but the Timer countdown does not start.... I wrote the following code: using UnityEngine; using PixelCrushers.DialogueSystem; namespace PixelCrushers.DialogueSystem.SequencerCommands { public class SequencerCommandTextInputTimer ...
by misaki_e
Sat Sep 03, 2022 9:31 pm
Forum: Dialogue System for Unity
Topic: How to show a timer when text field UI is shown?
Replies: 13
Views: 1374

Re: How to show a timer when text field UI is shown?

Sorry for the delay in response, thank you for your quick reply!
I see, I haven't gotten to the point of actually implementing it yet, but your answer was helpful to find a path. I will try that!
by misaki_e
Fri Sep 02, 2022 3:55 am
Forum: Dialogue System for Unity
Topic: How to show a timer when text field UI is shown?
Replies: 13
Views: 1374

How to show a timer when text field UI is shown?

Hi, I stopped studying Dialogue System for Unity for a while, but I'm back again. I really enjoy learning about this tool because the more I look into it, the more things I can do with it. Thank you for developing this great tool. Let's get down to the subject. I understand how to display a timer fo...