Open Rhuantavan opened 7 years ago
Hi, I answered your question in the forum, not sure if you saw it, hope it helps
https://groups.google.com/d/msg/moonsharp/On6dhfrpn1A/vohiIF1zFgAJ
@rgarat If you still remember what the solution was, could you post it here? I can't access the google groups post ;(
I have this simple LUA script calling the GUIManager's GUI.OpenMessageWindowWithAction method. I am passing a playKnockSound function to it, so the C# implementation of OpenMessageWindowWithAction calls that function.
LUA
C# GUIManager.cs
C# ScriptManager.cs
Sadly, Unity errors out:
Any idea if I am doing something wrong and how to solve it? Thank you!