static int set_InitLuaFramework(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Scripts.GameStart obj = (Scripts.GameStart)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.InitLuaFramework = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index InitLuaFramework on a nil value")); } }
static int get_IsMute(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Scripts.GameStart obj = (Scripts.GameStart)o; bool ret = obj.IsMute; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index IsMute on a nil value")); } }
void Awake() { _instance = this; }