Search found 5 matches

by little box
Tue Apr 27, 2021 12:30 am
Forum: Dialogue System for Unity
Topic: bug: Sequencer thrown ArgumentOutOfRangeException.
Replies: 1
Views: 80

bug: Sequencer thrown ArgumentOutOfRangeException.

https://i.imgur.com/AxDLfke.png here is my sequence code: ShowHideDialogue(false); MoveForward(Amnesiac, 54)->Message(Delay1); SendGameEvent(AddEventRecord, AmnesiacFinished1)@Message(Delay1); ShowHide(Amnesiac, false)@Message(Delay1)->Message(Delay2); Continue()@Message(Delay2); Exception appeared...
by little box
Mon Apr 26, 2021 9:39 pm
Forum: Dialogue System for Unity
Topic: dialogue is hidden when I quickly click continue button
Replies: 4
Views: 211

Re: dialogue is hidden when I quickly click continue button

I solved it. I uncheck wait for close on standard dialogue ui, subtitle panel and response menu. The problem seems to be that I reactivated Dialogue before it was closed
by little box
Mon Apr 26, 2021 6:50 pm
Forum: Dialogue System for Unity
Topic: dialogue is hidden when I quickly click continue button
Replies: 4
Views: 211

Re: dialogue is hidden when I quickly click continue button

It did't work, I'm using a custom button that triggers the onFastForward method when the player presses the keyboard.
by little box
Mon Apr 26, 2021 2:41 pm
Forum: Dialogue System for Unity
Topic: dialogue is hidden when I quickly click continue button
Replies: 4
Views: 211

dialogue is hidden when I quickly click continue button

Hi, Tony. I have a issue. My response menu panel and subtitle panel are in the same position, so I want subtitle panel to be hidden when the player triggers the response menu. However, if I set the visibility of subtitle panel to only during content, and if I quickly trigger the continue button, the...
by little box
Sun Jan 05, 2020 5:52 am
Forum: Dialogue System for Unity
Topic: Lua Code cannot be recursive
Replies: 1
Views: 174

Lua Code cannot be recursive

Hi! I tried to write some data into lua and read it out in code. But it looks like the lua code doesn't support recursion. Here's my example: function TestForEach(v, n) local sum = 0; if n > 0 then sum = v + TestForEach(v, n-1); end return sum; end print(TestForEach(3, 3)); It should be 9 but it's 0...