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