I've been working in my Unity game using this beautiful asset. Works great but the only problem I found recently is that when inputting a Custom Lua Function in the Script field that has a double parameter, when setting a decimal value, it will end up with the decimal separator as a comma, which doesn't work because I guess it takes the two numbers as separate parameters, triggering this error:
In this case I have a custom script that fades the screen, first value is the target fade and second value is the duration of the fade. If I want the duration to be 0.5 for example, when added it will replace the "." with a ",".Dialogue System: Lua code 'Fade(1, 0,5)' threw exception 'Number of parameters specified does not match the expected number.'
Tried with 0.5, 0,5, 0.5f and 0,5f just to check if I was doing something wrong but it still ends up as 0,5 so I have to manually correct it. Do you know why is this happening or is it because it's just the way it is?
Thanks in advance. Love this asset.