static int CheckExtractResource(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); GameMgr obj = (GameMgr)LuaScriptMgr.GetUnityObjectSelf(L, 1, "GameMgr"); obj.CheckExtractResource(); return(0); }