示例#1
0
    static int Destroy(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        LuaUIManager obj  = (LuaUIManager)LuaScriptMgr.GetNetObjectSelf(L, 1, "LuaUIManager");
        string       arg0 = LuaScriptMgr.GetLuaString(L, 2);
        bool         o    = obj.Destroy(arg0);

        LuaScriptMgr.Push(L, o);
        return(1);
    }
    private static int Destroy(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        LuaUIManager luaUIManager = (LuaUIManager)LuaScriptMgr.GetNetObjectSelf(L, 1, "LuaUIManager");
        string       luaString    = LuaScriptMgr.GetLuaString(L, 2);
        bool         b            = luaUIManager.Destroy(luaString);

        LuaScriptMgr.Push(L, b);
        return(1);
    }