コード例 #1
0
        static int _m_UpdateVertexData(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                TMPro.TextMeshProUGUI gen_to_be_invoked = (TMPro.TextMeshProUGUI)translator.FastGetCSObj(L, 1);


                int gen_param_count = LuaAPI.lua_gettop(L);

                if (gen_param_count == 1)
                {
                    gen_to_be_invoked.UpdateVertexData(  );



                    return(0);
                }
                if (gen_param_count == 2 && translator.Assignable <TMPro.TMP_VertexDataUpdateFlags>(L, 2))
                {
                    TMPro.TMP_VertexDataUpdateFlags _flags; translator.Get(L, 2, out _flags);

                    gen_to_be_invoked.UpdateVertexData(_flags);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }

            return(LuaAPI.luaL_error(L, "invalid arguments to TMPro.TextMeshProUGUI.UpdateVertexData!"));
        }