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

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Hi,

Adjust the sequencer command to find the slider after activating the panel. Here's an updated example:

DS_TimedTextInputExample_2022-09-06.unitypackage
misaki_e
Posts: 20
Joined: Fri Apr 16, 2021 1:57 am

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

Post by misaki_e »

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 seems to be working, and after the number of seconds I have set (5 seconds), it treats the input as not having been made and moves to the next dialogue entry. Here is the video recording:


This problem only occurs when scene playing is started from the "InGame" scene and not from the "Title" scene. Do you have any ideas as to why this would be the case?
misaki_e
Posts: 20
Joined: Fri Apr 16, 2021 1:57 am

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

Post by misaki_e »

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:


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 for your patience and support!!
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Hi,

Glad to help! If the problem recurs, let me know so we can look into it.
Post Reply