Lua/LuaWindow.cs
@@ -137,4 +137,21 @@ } } #if UNITY_EDITOR [ContextMenu("LuaReload")] public void ReLoadLua() { LuaUtility.Do(string.Format("window.{0}", this.gameObject.name), this.gameObject.name, table); if (onBindController != null) { onBindController(); } if (onAddListeners != null) { onAddListeners(); } } #endif }