protected LuaModule() { #if UNITY_EDITOR UnityEngine.Debug.Log("Consturct LuaModule..."); #endif #if SLUA _luaSvr = new LuaSvr(); _luaSvr.init(progress => { _initProgress = progress; }, () => { }); #else _luaEnv = new LuaEnv(); #endif }
protected LuaModule() { #if UNITY_EDITOR UnityEngine.Debug.Log("Consturct LuaModule..."); #endif #if SLUA _luaSvr = new LuaSvr(); _luaSvr.init(progress => { _initProgress = progress; }, () => { }); #else _luaEnv = new LuaEnv(); #endif }