Search found 4 matches

by gamefang
Tue Nov 14, 2023 9:37 am
Forum: Dialogue System for Unity
Topic: Custom Delay Time before Continue?
Replies: 3
Views: 497

Re: Custom Delay Time before Continue?

That's the best way, thank you very much! I replaced the Default Sequence in Dialogue System Controller: Delay([var=DelayDuration])@Message(Typed) so the player can select: 1. seriously reading: - Continue Button -> Not Before Response Menu(must click) - DelayDuration -> 0(no need to wait) 2. casual...
by gamefang
Tue Nov 14, 2023 8:55 am
Forum: Dialogue System for Unity
Topic: Custom Delay Time before Continue?
Replies: 3
Views: 497

Custom Delay Time before Continue?

Hello,

I want to make a delay time, after the REAL dialogue text is done. It's working when add some rich texts like so:
1.png
1.png (9.32 KiB) Viewed 497 times
however I guess it shall be easier and even customizable. Maybe a variable could be defined in script(better in cs), to controll this delay time?
by gamefang
Thu Sep 07, 2023 10:39 pm
Forum: Dialogue System for Unity
Topic: How to use Default parameter values in Lua
Replies: 3
Views: 568

Re: How to use Default parameter values in Lua

It's a good idea, thanks a lot!
by gamefang
Thu Sep 07, 2023 4:31 pm
Forum: Dialogue System for Unity
Topic: How to use Default parameter values in Lua
Replies: 3
Views: 568

How to use Default parameter values in Lua

Hi Tony, I have registered some Cs functions to Lua, with some parameters like: // csharp: Func(string a, int b=0) Lua.RegisterFunction(nameof(Func), this, SymbolExtensions.GetMethodInfo(() => Func(string.Empty, 0))); Now I use this in Dialogue Database like so: // lua Func("blah") // Targ...