Browse Source

Fixed Menu() Lua function only works once #511

master
Christopher 8 years ago
parent
commit
79081ed3b8
  1. 3
      Assets/Fungus/Lua/Scripts/LuaExtensions.cs
  2. 2117
      Assets/Tests/Lua/FungusTests.unity

3
Assets/Fungus/Lua/Scripts/LuaExtensions.cs

@ -39,11 +39,8 @@ namespace Fungus
menuDialog.StopAllCoroutines(); // Stop timeout
menuDialog.Clear();
menuDialog.HideSayDialog();
menuDialog.gameObject.SetActive(false);
if (callBack != null)
{
luaEnvironment.RunLuaFunction(callBack, true);

2117
Assets/Tests/Lua/FungusTests.unity

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save