static int Reset(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); MonoSingleton <SysInfoLayer> obj = (MonoSingleton <SysInfoLayer>)ToLua.CheckObject(L, 1, typeof(MonoSingleton <SysInfoLayer>)); obj.Reset(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }