예제 #1
0
    static int SetPublicProperty(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 3);
        object arg0 = LuaScriptMgr.GetVarObject(L, 1);
        string arg1 = LuaScriptMgr.GetLuaString(L, 2);
        object arg2 = LuaScriptMgr.GetVarObject(L, 3);

        PublicExtensions.SetPublicProperty(arg0, arg1, arg2);
        return(0);
    }