| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720 |
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
- public class TMPro_TMP_TextWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginClass(typeof(TMPro.TMP_Text), typeof(UnityEngine.UI.MaskableGraphic), "TMP_Text");
- L.RegFunction("ForceMeshUpdate", ForceMeshUpdate);
- L.RegFunction("UpdateGeometry", UpdateGeometry);
- L.RegFunction("UpdateVertexData", UpdateVertexData);
- L.RegFunction("SetVertices", SetVertices);
- L.RegFunction("UpdateMeshPadding", UpdateMeshPadding);
- L.RegFunction("CrossFadeColor", CrossFadeColor);
- L.RegFunction("CrossFadeAlpha", CrossFadeAlpha);
- L.RegFunction("SetText", SetText);
- L.RegFunction("SetCharArray", SetCharArray);
- L.RegFunction("GetPreferredValues", GetPreferredValues);
- L.RegFunction("GetRenderedValues", GetRenderedValues);
- L.RegFunction("GetTextInfo", GetTextInfo);
- L.RegFunction("ComputeMarginSize", ComputeMarginSize);
- L.RegFunction("ClearMesh", ClearMesh);
- L.RegFunction("GetParsedText", GetParsedText);
- L.RegFunction("__eq", op_Equality);
- L.RegFunction("__tostring", ToLua.op_ToString);
- L.RegVar("text", get_text, set_text);
- L.RegVar("textPreprocessor", get_textPreprocessor, set_textPreprocessor);
- L.RegVar("isRightToLeftText", get_isRightToLeftText, set_isRightToLeftText);
- L.RegVar("font", get_font, set_font);
- L.RegVar("fontSharedMaterial", get_fontSharedMaterial, set_fontSharedMaterial);
- L.RegVar("fontSharedMaterials", get_fontSharedMaterials, set_fontSharedMaterials);
- L.RegVar("fontMaterial", get_fontMaterial, set_fontMaterial);
- L.RegVar("fontMaterials", get_fontMaterials, set_fontMaterials);
- L.RegVar("color", get_color, set_color);
- L.RegVar("alpha", get_alpha, set_alpha);
- L.RegVar("enableVertexGradient", get_enableVertexGradient, set_enableVertexGradient);
- L.RegVar("colorGradient", get_colorGradient, set_colorGradient);
- L.RegVar("colorGradientPreset", get_colorGradientPreset, set_colorGradientPreset);
- L.RegVar("spriteAsset", get_spriteAsset, set_spriteAsset);
- L.RegVar("tintAllSprites", get_tintAllSprites, set_tintAllSprites);
- L.RegVar("styleSheet", get_styleSheet, set_styleSheet);
- L.RegVar("textStyle", get_textStyle, set_textStyle);
- L.RegVar("overrideColorTags", get_overrideColorTags, set_overrideColorTags);
- L.RegVar("faceColor", get_faceColor, set_faceColor);
- L.RegVar("outlineColor", get_outlineColor, set_outlineColor);
- L.RegVar("outlineWidth", get_outlineWidth, set_outlineWidth);
- L.RegVar("fontSize", get_fontSize, set_fontSize);
- L.RegVar("fontWeight", get_fontWeight, set_fontWeight);
- L.RegVar("pixelsPerUnit", get_pixelsPerUnit, null);
- L.RegVar("enableAutoSizing", get_enableAutoSizing, set_enableAutoSizing);
- L.RegVar("fontSizeMin", get_fontSizeMin, set_fontSizeMin);
- L.RegVar("fontSizeMax", get_fontSizeMax, set_fontSizeMax);
- L.RegVar("fontStyle", get_fontStyle, set_fontStyle);
- L.RegVar("isUsingBold", get_isUsingBold, null);
- L.RegVar("horizontalAlignment", get_horizontalAlignment, set_horizontalAlignment);
- L.RegVar("verticalAlignment", get_verticalAlignment, set_verticalAlignment);
- L.RegVar("alignment", get_alignment, set_alignment);
- L.RegVar("characterSpacing", get_characterSpacing, set_characterSpacing);
- L.RegVar("wordSpacing", get_wordSpacing, set_wordSpacing);
- L.RegVar("lineSpacing", get_lineSpacing, set_lineSpacing);
- L.RegVar("lineSpacingAdjustment", get_lineSpacingAdjustment, set_lineSpacingAdjustment);
- L.RegVar("paragraphSpacing", get_paragraphSpacing, set_paragraphSpacing);
- L.RegVar("characterWidthAdjustment", get_characterWidthAdjustment, set_characterWidthAdjustment);
- L.RegVar("enableWordWrapping", get_enableWordWrapping, set_enableWordWrapping);
- L.RegVar("wordWrappingRatios", get_wordWrappingRatios, set_wordWrappingRatios);
- L.RegVar("overflowMode", get_overflowMode, set_overflowMode);
- L.RegVar("isTextOverflowing", get_isTextOverflowing, null);
- L.RegVar("firstOverflowCharacterIndex", get_firstOverflowCharacterIndex, null);
- L.RegVar("linkedTextComponent", get_linkedTextComponent, set_linkedTextComponent);
- L.RegVar("isTextTruncated", get_isTextTruncated, null);
- L.RegVar("enableKerning", get_enableKerning, set_enableKerning);
- L.RegVar("extraPadding", get_extraPadding, set_extraPadding);
- L.RegVar("richText", get_richText, set_richText);
- L.RegVar("parseCtrlCharacters", get_parseCtrlCharacters, set_parseCtrlCharacters);
- L.RegVar("isOverlay", get_isOverlay, set_isOverlay);
- L.RegVar("isOrthographic", get_isOrthographic, set_isOrthographic);
- L.RegVar("enableCulling", get_enableCulling, set_enableCulling);
- L.RegVar("ignoreVisibility", get_ignoreVisibility, set_ignoreVisibility);
- L.RegVar("horizontalMapping", get_horizontalMapping, set_horizontalMapping);
- L.RegVar("verticalMapping", get_verticalMapping, set_verticalMapping);
- L.RegVar("mappingUvLineOffset", get_mappingUvLineOffset, set_mappingUvLineOffset);
- L.RegVar("renderMode", get_renderMode, set_renderMode);
- L.RegVar("geometrySortingOrder", get_geometrySortingOrder, set_geometrySortingOrder);
- L.RegVar("isTextObjectScaleStatic", get_isTextObjectScaleStatic, set_isTextObjectScaleStatic);
- L.RegVar("vertexBufferAutoSizeReduction", get_vertexBufferAutoSizeReduction, set_vertexBufferAutoSizeReduction);
- L.RegVar("firstVisibleCharacter", get_firstVisibleCharacter, set_firstVisibleCharacter);
- L.RegVar("maxVisibleCharacters", get_maxVisibleCharacters, set_maxVisibleCharacters);
- L.RegVar("maxVisibleWords", get_maxVisibleWords, set_maxVisibleWords);
- L.RegVar("maxVisibleLines", get_maxVisibleLines, set_maxVisibleLines);
- L.RegVar("useMaxVisibleDescender", get_useMaxVisibleDescender, set_useMaxVisibleDescender);
- L.RegVar("pageToDisplay", get_pageToDisplay, set_pageToDisplay);
- L.RegVar("margin", get_margin, set_margin);
- L.RegVar("textInfo", get_textInfo, null);
- L.RegVar("havePropertiesChanged", get_havePropertiesChanged, set_havePropertiesChanged);
- L.RegVar("isUsingLegacyAnimationComponent", get_isUsingLegacyAnimationComponent, set_isUsingLegacyAnimationComponent);
- L.RegVar("transform", get_transform, null);
- L.RegVar("rectTransform", get_rectTransform, null);
- L.RegVar("autoSizeTextContainer", get_autoSizeTextContainer, set_autoSizeTextContainer);
- L.RegVar("mesh", get_mesh, null);
- L.RegVar("isVolumetricText", get_isVolumetricText, set_isVolumetricText);
- L.RegVar("bounds", get_bounds, null);
- L.RegVar("textBounds", get_textBounds, null);
- L.RegVar("flexibleHeight", get_flexibleHeight, null);
- L.RegVar("flexibleWidth", get_flexibleWidth, null);
- L.RegVar("minWidth", get_minWidth, null);
- L.RegVar("minHeight", get_minHeight, null);
- L.RegVar("maxWidth", get_maxWidth, null);
- L.RegVar("maxHeight", get_maxHeight, null);
- L.RegVar("preferredWidth", get_preferredWidth, null);
- L.RegVar("preferredHeight", get_preferredHeight, null);
- L.RegVar("renderedWidth", get_renderedWidth, null);
- L.RegVar("renderedHeight", get_renderedHeight, null);
- L.RegVar("layoutPriority", get_layoutPriority, null);
- L.RegVar("OnFontAssetRequest", get_OnFontAssetRequest, set_OnFontAssetRequest);
- L.RegVar("OnSpriteAssetRequest", get_OnSpriteAssetRequest, set_OnSpriteAssetRequest);
- L.RegVar("OnPreRenderText", get_OnPreRenderText, set_OnPreRenderText);
- L.EndClass();
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int ForceMeshUpdate(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 1)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- obj.ForceMeshUpdate();
- return 0;
- }
- else if (count == 2)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.ForceMeshUpdate(arg0);
- return 0;
- }
- else if (count == 3)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
- obj.ForceMeshUpdate(arg0, arg1);
- return 0;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.ForceMeshUpdate");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int UpdateGeometry(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 3);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- UnityEngine.Mesh arg0 = (UnityEngine.Mesh)ToLua.CheckObject(L, 2, typeof(UnityEngine.Mesh));
- int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
- obj.UpdateGeometry(arg0, arg1);
- return 0;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int UpdateVertexData(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 1)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- obj.UpdateVertexData();
- return 0;
- }
- else if (count == 2)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- TMPro.TMP_VertexDataUpdateFlags arg0 = (TMPro.TMP_VertexDataUpdateFlags)ToLua.CheckObject(L, 2, typeof(TMPro.TMP_VertexDataUpdateFlags));
- obj.UpdateVertexData(arg0);
- return 0;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.UpdateVertexData");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int SetVertices(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 2);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- UnityEngine.Vector3[] arg0 = ToLua.CheckStructArray<UnityEngine.Vector3>(L, 2);
- obj.SetVertices(arg0);
- return 0;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int UpdateMeshPadding(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- obj.UpdateMeshPadding();
- return 0;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int CrossFadeColor(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 5)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- bool arg2 = LuaDLL.luaL_checkboolean(L, 4);
- bool arg3 = LuaDLL.luaL_checkboolean(L, 5);
- obj.CrossFadeColor(arg0, arg1, arg2, arg3);
- return 0;
- }
- else if (count == 6)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- bool arg2 = LuaDLL.luaL_checkboolean(L, 4);
- bool arg3 = LuaDLL.luaL_checkboolean(L, 5);
- bool arg4 = LuaDLL.luaL_checkboolean(L, 6);
- obj.CrossFadeColor(arg0, arg1, arg2, arg3, arg4);
- return 0;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.CrossFadeColor");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int CrossFadeAlpha(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 4);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- bool arg2 = LuaDLL.luaL_checkboolean(L, 4);
- obj.CrossFadeAlpha(arg0, arg1, arg2);
- return 0;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int SetText(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 2 && TypeChecker.CheckTypes<string>(L, 2))
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.ToString(L, 2);
- obj.SetText(arg0);
- return 0;
- }
- else if (count == 2 && TypeChecker.CheckTypes<System.Text.StringBuilder>(L, 2))
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- System.Text.StringBuilder arg0 = (System.Text.StringBuilder)ToLua.ToObject(L, 2);
- obj.SetText(arg0);
- return 0;
- }
- else if (count == 2 && TypeChecker.CheckTypes<char[]>(L, 2))
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- char[] arg0 = ToLua.CheckCharBuffer(L, 2);
- obj.SetText(arg0);
- return 0;
- }
- else if (count == 3 && TypeChecker.CheckTypes<bool>(L, 3))
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- bool arg1 = LuaDLL.lua_toboolean(L, 3);
- obj.SetText(arg0, arg1);
- return 0;
- }
- else if (count == 3 && TypeChecker.CheckTypes<float>(L, 3))
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- float arg1 = (float)LuaDLL.lua_tonumber(L, 3);
- obj.SetText(arg0, arg1);
- return 0;
- }
- else if (count == 4 && TypeChecker.CheckTypes<string, float, float>(L, 2))
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.ToString(L, 2);
- float arg1 = (float)LuaDLL.lua_tonumber(L, 3);
- float arg2 = (float)LuaDLL.lua_tonumber(L, 4);
- obj.SetText(arg0, arg1, arg2);
- return 0;
- }
- else if (count == 4 && TypeChecker.CheckTypes<char[], int, int>(L, 2))
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- char[] arg0 = ToLua.CheckCharBuffer(L, 2);
- int arg1 = (int)LuaDLL.lua_tonumber(L, 3);
- int arg2 = (int)LuaDLL.lua_tonumber(L, 4);
- obj.SetText(arg0, arg1, arg2);
- return 0;
- }
- else if (count == 5)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
- float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
- obj.SetText(arg0, arg1, arg2, arg3);
- return 0;
- }
- else if (count == 6)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
- float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
- float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
- obj.SetText(arg0, arg1, arg2, arg3, arg4);
- return 0;
- }
- else if (count == 7)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
- float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
- float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
- float arg5 = (float)LuaDLL.luaL_checknumber(L, 7);
- obj.SetText(arg0, arg1, arg2, arg3, arg4, arg5);
- return 0;
- }
- else if (count == 8)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
- float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
- float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
- float arg5 = (float)LuaDLL.luaL_checknumber(L, 7);
- float arg6 = (float)LuaDLL.luaL_checknumber(L, 8);
- obj.SetText(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
- return 0;
- }
- else if (count == 9)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
- float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
- float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
- float arg5 = (float)LuaDLL.luaL_checknumber(L, 7);
- float arg6 = (float)LuaDLL.luaL_checknumber(L, 8);
- float arg7 = (float)LuaDLL.luaL_checknumber(L, 9);
- obj.SetText(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
- return 0;
- }
- else if (count == 10)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
- float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
- float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
- float arg5 = (float)LuaDLL.luaL_checknumber(L, 7);
- float arg6 = (float)LuaDLL.luaL_checknumber(L, 8);
- float arg7 = (float)LuaDLL.luaL_checknumber(L, 9);
- float arg8 = (float)LuaDLL.luaL_checknumber(L, 10);
- obj.SetText(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
- return 0;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.SetText");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int SetCharArray(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 2)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- char[] arg0 = ToLua.CheckCharBuffer(L, 2);
- obj.SetCharArray(arg0);
- return 0;
- }
- else if (count == 4)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- char[] arg0 = ToLua.CheckCharBuffer(L, 2);
- int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
- int arg2 = (int)LuaDLL.luaL_checknumber(L, 4);
- obj.SetCharArray(arg0, arg1, arg2);
- return 0;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.SetCharArray");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int GetPreferredValues(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 1)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- UnityEngine.Vector2 o = obj.GetPreferredValues();
- ToLua.Push(L, o);
- return 1;
- }
- else if (count == 2)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- UnityEngine.Vector2 o = obj.GetPreferredValues(arg0);
- ToLua.Push(L, o);
- return 1;
- }
- else if (count == 3)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- UnityEngine.Vector2 o = obj.GetPreferredValues(arg0, arg1);
- ToLua.Push(L, o);
- return 1;
- }
- else if (count == 4)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
- float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
- UnityEngine.Vector2 o = obj.GetPreferredValues(arg0, arg1, arg2);
- ToLua.Push(L, o);
- return 1;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.GetPreferredValues");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int GetRenderedValues(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 1)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- UnityEngine.Vector2 o = obj.GetRenderedValues();
- ToLua.Push(L, o);
- return 1;
- }
- else if (count == 2)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- UnityEngine.Vector2 o = obj.GetRenderedValues(arg0);
- ToLua.Push(L, o);
- return 1;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.GetRenderedValues");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int GetTextInfo(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 2);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string arg0 = ToLua.CheckString(L, 2);
- TMPro.TMP_TextInfo o = obj.GetTextInfo(arg0);
- ToLua.PushObject(L, o);
- return 1;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int ComputeMarginSize(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- obj.ComputeMarginSize();
- return 0;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int ClearMesh(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 1)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- obj.ClearMesh();
- return 0;
- }
- else if (count == 2)
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.ClearMesh(arg0);
- return 0;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.ClearMesh");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int GetParsedText(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
- string o = obj.GetParsedText();
- LuaDLL.lua_pushstring(L, o);
- return 1;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int op_Equality(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 2);
- UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
- UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
- bool o = arg0 == arg1;
- LuaDLL.lua_pushboolean(L, o);
- return 1;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_text(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- string ret = obj.text;
- LuaDLL.lua_pushstring(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index text on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_textPreprocessor(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.ITextPreprocessor ret = obj.textPreprocessor;
- ToLua.PushObject(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index textPreprocessor on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_isRightToLeftText(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.isRightToLeftText;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isRightToLeftText on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_font(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_FontAsset ret = obj.font;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index font on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_fontSharedMaterial(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Material ret = obj.fontSharedMaterial;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSharedMaterial on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_fontSharedMaterials(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Material[] ret = obj.fontSharedMaterials;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSharedMaterials on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_fontMaterial(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Material ret = obj.fontMaterial;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontMaterial on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_fontMaterials(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Material[] ret = obj.fontMaterials;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontMaterials on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_color(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Color ret = obj.color;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index color on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_alpha(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.alpha;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index alpha on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_enableVertexGradient(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.enableVertexGradient;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableVertexGradient on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_colorGradient(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.VertexGradient ret = obj.colorGradient;
- ToLua.PushValue(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index colorGradient on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_colorGradientPreset(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_ColorGradient ret = obj.colorGradientPreset;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index colorGradientPreset on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_spriteAsset(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_SpriteAsset ret = obj.spriteAsset;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index spriteAsset on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_tintAllSprites(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.tintAllSprites;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index tintAllSprites on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_styleSheet(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_StyleSheet ret = obj.styleSheet;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index styleSheet on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_textStyle(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_Style ret = obj.textStyle;
- ToLua.PushObject(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index textStyle on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_overrideColorTags(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.overrideColorTags;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index overrideColorTags on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_faceColor(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Color32 ret = obj.faceColor;
- ToLua.PushValue(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index faceColor on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_outlineColor(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Color32 ret = obj.outlineColor;
- ToLua.PushValue(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index outlineColor on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_outlineWidth(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.outlineWidth;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index outlineWidth on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_fontSize(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.fontSize;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSize on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_fontWeight(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.FontWeight ret = obj.fontWeight;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontWeight on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_pixelsPerUnit(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.pixelsPerUnit;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index pixelsPerUnit on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_enableAutoSizing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.enableAutoSizing;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableAutoSizing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_fontSizeMin(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.fontSizeMin;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSizeMin on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_fontSizeMax(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.fontSizeMax;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSizeMax on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_fontStyle(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.FontStyles ret = obj.fontStyle;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontStyle on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_isUsingBold(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.isUsingBold;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isUsingBold on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_horizontalAlignment(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.HorizontalAlignmentOptions ret = obj.horizontalAlignment;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index horizontalAlignment on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_verticalAlignment(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.VerticalAlignmentOptions ret = obj.verticalAlignment;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalAlignment on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_alignment(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TextAlignmentOptions ret = obj.alignment;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index alignment on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_characterSpacing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.characterSpacing;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index characterSpacing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_wordSpacing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.wordSpacing;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index wordSpacing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_lineSpacing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.lineSpacing;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index lineSpacing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_lineSpacingAdjustment(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.lineSpacingAdjustment;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index lineSpacingAdjustment on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_paragraphSpacing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.paragraphSpacing;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index paragraphSpacing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_characterWidthAdjustment(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.characterWidthAdjustment;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index characterWidthAdjustment on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_enableWordWrapping(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.enableWordWrapping;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableWordWrapping on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_wordWrappingRatios(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.wordWrappingRatios;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index wordWrappingRatios on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_overflowMode(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TextOverflowModes ret = obj.overflowMode;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index overflowMode on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_isTextOverflowing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.isTextOverflowing;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isTextOverflowing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_firstOverflowCharacterIndex(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int ret = obj.firstOverflowCharacterIndex;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index firstOverflowCharacterIndex on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_linkedTextComponent(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_Text ret = obj.linkedTextComponent;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index linkedTextComponent on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_isTextTruncated(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.isTextTruncated;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isTextTruncated on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_enableKerning(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.enableKerning;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableKerning on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_extraPadding(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.extraPadding;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index extraPadding on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_richText(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.richText;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index richText on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_parseCtrlCharacters(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.parseCtrlCharacters;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index parseCtrlCharacters on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_isOverlay(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.isOverlay;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isOverlay on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_isOrthographic(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.isOrthographic;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isOrthographic on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_enableCulling(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.enableCulling;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableCulling on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_ignoreVisibility(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.ignoreVisibility;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index ignoreVisibility on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_horizontalMapping(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TextureMappingOptions ret = obj.horizontalMapping;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index horizontalMapping on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_verticalMapping(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TextureMappingOptions ret = obj.verticalMapping;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalMapping on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mappingUvLineOffset(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.mappingUvLineOffset;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mappingUvLineOffset on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_renderMode(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TextRenderFlags ret = obj.renderMode;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index renderMode on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_geometrySortingOrder(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.VertexSortingOrder ret = obj.geometrySortingOrder;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index geometrySortingOrder on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_isTextObjectScaleStatic(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.isTextObjectScaleStatic;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isTextObjectScaleStatic on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_vertexBufferAutoSizeReduction(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.vertexBufferAutoSizeReduction;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index vertexBufferAutoSizeReduction on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_firstVisibleCharacter(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int ret = obj.firstVisibleCharacter;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index firstVisibleCharacter on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_maxVisibleCharacters(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int ret = obj.maxVisibleCharacters;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleCharacters on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_maxVisibleWords(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int ret = obj.maxVisibleWords;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleWords on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_maxVisibleLines(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int ret = obj.maxVisibleLines;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleLines on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_useMaxVisibleDescender(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.useMaxVisibleDescender;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index useMaxVisibleDescender on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_pageToDisplay(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int ret = obj.pageToDisplay;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index pageToDisplay on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_margin(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Vector4 ret = obj.margin;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index margin on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_textInfo(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_TextInfo ret = obj.textInfo;
- ToLua.PushObject(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index textInfo on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_havePropertiesChanged(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.havePropertiesChanged;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index havePropertiesChanged on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_isUsingLegacyAnimationComponent(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.isUsingLegacyAnimationComponent;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isUsingLegacyAnimationComponent on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_transform(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Transform ret = obj.transform;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index transform on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_rectTransform(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.RectTransform ret = obj.rectTransform;
- ToLua.PushSealed(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index rectTransform on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_autoSizeTextContainer(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.autoSizeTextContainer;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index autoSizeTextContainer on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mesh(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Mesh ret = obj.mesh;
- ToLua.PushSealed(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mesh on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_isVolumetricText(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool ret = obj.isVolumetricText;
- LuaDLL.lua_pushboolean(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isVolumetricText on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_bounds(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Bounds ret = obj.bounds;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index bounds on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_textBounds(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Bounds ret = obj.textBounds;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index textBounds on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_flexibleHeight(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.flexibleHeight;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index flexibleHeight on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_flexibleWidth(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.flexibleWidth;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index flexibleWidth on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_minWidth(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.minWidth;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index minWidth on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_minHeight(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.minHeight;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index minHeight on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_maxWidth(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.maxWidth;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxWidth on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_maxHeight(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.maxHeight;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxHeight on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_preferredWidth(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.preferredWidth;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index preferredWidth on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_preferredHeight(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.preferredHeight;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index preferredHeight on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_renderedWidth(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.renderedWidth;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index renderedWidth on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_renderedHeight(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float ret = obj.renderedHeight;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index renderedHeight on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_layoutPriority(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int ret = obj.layoutPriority;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index layoutPriority on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_OnFontAssetRequest(IntPtr L)
- {
- ToLua.Push(L, new EventObject(typeof(System.Func<int,string,TMPro.TMP_FontAsset>)));
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_OnSpriteAssetRequest(IntPtr L)
- {
- ToLua.Push(L, new EventObject(typeof(System.Func<int,string,TMPro.TMP_SpriteAsset>)));
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_OnPreRenderText(IntPtr L)
- {
- ToLua.Push(L, new EventObject(typeof(System.Action<TMPro.TMP_TextInfo>)));
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_text(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- string arg0 = ToLua.CheckString(L, 2);
- obj.text = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index text on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_textPreprocessor(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.ITextPreprocessor arg0 = (TMPro.ITextPreprocessor)ToLua.CheckObject<TMPro.ITextPreprocessor>(L, 2);
- obj.textPreprocessor = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index textPreprocessor on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_isRightToLeftText(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.isRightToLeftText = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isRightToLeftText on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_font(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_FontAsset arg0 = (TMPro.TMP_FontAsset)ToLua.CheckObject<TMPro.TMP_FontAsset>(L, 2);
- obj.font = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index font on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_fontSharedMaterial(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckObject<UnityEngine.Material>(L, 2);
- obj.fontSharedMaterial = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSharedMaterial on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_fontSharedMaterials(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Material[] arg0 = ToLua.CheckObjectArray<UnityEngine.Material>(L, 2);
- obj.fontSharedMaterials = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSharedMaterials on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_fontMaterial(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckObject<UnityEngine.Material>(L, 2);
- obj.fontMaterial = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontMaterial on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_fontMaterials(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Material[] arg0 = ToLua.CheckObjectArray<UnityEngine.Material>(L, 2);
- obj.fontMaterials = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontMaterials on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_color(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
- obj.color = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index color on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_alpha(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.alpha = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index alpha on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_enableVertexGradient(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.enableVertexGradient = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableVertexGradient on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_colorGradient(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.VertexGradient arg0 = StackTraits<TMPro.VertexGradient>.Check(L, 2);
- obj.colorGradient = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index colorGradient on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_colorGradientPreset(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_ColorGradient arg0 = (TMPro.TMP_ColorGradient)ToLua.CheckObject<TMPro.TMP_ColorGradient>(L, 2);
- obj.colorGradientPreset = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index colorGradientPreset on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_spriteAsset(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_SpriteAsset arg0 = (TMPro.TMP_SpriteAsset)ToLua.CheckObject<TMPro.TMP_SpriteAsset>(L, 2);
- obj.spriteAsset = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index spriteAsset on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_tintAllSprites(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.tintAllSprites = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index tintAllSprites on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_styleSheet(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_StyleSheet arg0 = (TMPro.TMP_StyleSheet)ToLua.CheckObject<TMPro.TMP_StyleSheet>(L, 2);
- obj.styleSheet = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index styleSheet on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_textStyle(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_Style arg0 = (TMPro.TMP_Style)ToLua.CheckObject<TMPro.TMP_Style>(L, 2);
- obj.textStyle = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index textStyle on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_overrideColorTags(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.overrideColorTags = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index overrideColorTags on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_faceColor(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Color32 arg0 = StackTraits<UnityEngine.Color32>.Check(L, 2);
- obj.faceColor = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index faceColor on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_outlineColor(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Color32 arg0 = StackTraits<UnityEngine.Color32>.Check(L, 2);
- obj.outlineColor = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index outlineColor on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_outlineWidth(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.outlineWidth = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index outlineWidth on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_fontSize(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.fontSize = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSize on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_fontWeight(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.FontWeight arg0 = (TMPro.FontWeight)ToLua.CheckObject(L, 2, typeof(TMPro.FontWeight));
- obj.fontWeight = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontWeight on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_enableAutoSizing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.enableAutoSizing = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableAutoSizing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_fontSizeMin(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.fontSizeMin = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSizeMin on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_fontSizeMax(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.fontSizeMax = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSizeMax on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_fontStyle(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.FontStyles arg0 = (TMPro.FontStyles)ToLua.CheckObject(L, 2, typeof(TMPro.FontStyles));
- obj.fontStyle = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontStyle on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_horizontalAlignment(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.HorizontalAlignmentOptions arg0 = (TMPro.HorizontalAlignmentOptions)ToLua.CheckObject(L, 2, typeof(TMPro.HorizontalAlignmentOptions));
- obj.horizontalAlignment = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index horizontalAlignment on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_verticalAlignment(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.VerticalAlignmentOptions arg0 = (TMPro.VerticalAlignmentOptions)ToLua.CheckObject(L, 2, typeof(TMPro.VerticalAlignmentOptions));
- obj.verticalAlignment = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalAlignment on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_alignment(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TextAlignmentOptions arg0 = (TMPro.TextAlignmentOptions)ToLua.CheckObject(L, 2, typeof(TMPro.TextAlignmentOptions));
- obj.alignment = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index alignment on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_characterSpacing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.characterSpacing = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index characterSpacing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_wordSpacing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.wordSpacing = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index wordSpacing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_lineSpacing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.lineSpacing = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index lineSpacing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_lineSpacingAdjustment(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.lineSpacingAdjustment = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index lineSpacingAdjustment on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_paragraphSpacing(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.paragraphSpacing = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index paragraphSpacing on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_characterWidthAdjustment(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.characterWidthAdjustment = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index characterWidthAdjustment on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_enableWordWrapping(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.enableWordWrapping = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableWordWrapping on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_wordWrappingRatios(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.wordWrappingRatios = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index wordWrappingRatios on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_overflowMode(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TextOverflowModes arg0 = (TMPro.TextOverflowModes)ToLua.CheckObject(L, 2, typeof(TMPro.TextOverflowModes));
- obj.overflowMode = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index overflowMode on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_linkedTextComponent(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TMP_Text arg0 = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 2);
- obj.linkedTextComponent = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index linkedTextComponent on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_enableKerning(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.enableKerning = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableKerning on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_extraPadding(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.extraPadding = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index extraPadding on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_richText(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.richText = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index richText on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_parseCtrlCharacters(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.parseCtrlCharacters = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index parseCtrlCharacters on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_isOverlay(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.isOverlay = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isOverlay on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_isOrthographic(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.isOrthographic = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isOrthographic on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_enableCulling(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.enableCulling = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableCulling on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_ignoreVisibility(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.ignoreVisibility = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index ignoreVisibility on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_horizontalMapping(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TextureMappingOptions arg0 = (TMPro.TextureMappingOptions)ToLua.CheckObject(L, 2, typeof(TMPro.TextureMappingOptions));
- obj.horizontalMapping = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index horizontalMapping on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_verticalMapping(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TextureMappingOptions arg0 = (TMPro.TextureMappingOptions)ToLua.CheckObject(L, 2, typeof(TMPro.TextureMappingOptions));
- obj.verticalMapping = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalMapping on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mappingUvLineOffset(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.mappingUvLineOffset = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mappingUvLineOffset on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_renderMode(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.TextRenderFlags arg0 = (TMPro.TextRenderFlags)ToLua.CheckObject(L, 2, typeof(TMPro.TextRenderFlags));
- obj.renderMode = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index renderMode on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_geometrySortingOrder(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- TMPro.VertexSortingOrder arg0 = (TMPro.VertexSortingOrder)ToLua.CheckObject(L, 2, typeof(TMPro.VertexSortingOrder));
- obj.geometrySortingOrder = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index geometrySortingOrder on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_isTextObjectScaleStatic(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.isTextObjectScaleStatic = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isTextObjectScaleStatic on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_vertexBufferAutoSizeReduction(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.vertexBufferAutoSizeReduction = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index vertexBufferAutoSizeReduction on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_firstVisibleCharacter(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.firstVisibleCharacter = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index firstVisibleCharacter on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_maxVisibleCharacters(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.maxVisibleCharacters = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleCharacters on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_maxVisibleWords(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.maxVisibleWords = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleWords on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_maxVisibleLines(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.maxVisibleLines = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleLines on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_useMaxVisibleDescender(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.useMaxVisibleDescender = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index useMaxVisibleDescender on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_pageToDisplay(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.pageToDisplay = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index pageToDisplay on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_margin(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- UnityEngine.Vector4 arg0 = ToLua.ToVector4(L, 2);
- obj.margin = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index margin on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_havePropertiesChanged(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.havePropertiesChanged = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index havePropertiesChanged on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_isUsingLegacyAnimationComponent(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.isUsingLegacyAnimationComponent = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isUsingLegacyAnimationComponent on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_autoSizeTextContainer(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.autoSizeTextContainer = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index autoSizeTextContainer on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_isVolumetricText(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
- bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
- obj.isVolumetricText = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index isVolumetricText on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_OnFontAssetRequest(IntPtr L)
- {
- try
- {
- EventObject arg0 = null;
- if (LuaDLL.lua_isuserdata(L, 2) != 0)
- {
- arg0 = (EventObject)ToLua.ToObject(L, 2);
- }
- else
- {
- return LuaDLL.luaL_throw(L, "The event 'TMPro.TMP_Text.OnFontAssetRequest' can only appear on the left hand side of += or -= when used outside of the type 'TMPro.TMP_Text'");
- }
- if (arg0.op == EventOp.Add)
- {
- System.Func<int,string,TMPro.TMP_FontAsset> ev = (System.Func<int,string,TMPro.TMP_FontAsset>)arg0.func;
- TMPro.TMP_Text.OnFontAssetRequest += ev;
- }
- else if (arg0.op == EventOp.Sub)
- {
- System.Func<int,string,TMPro.TMP_FontAsset> ev = (System.Func<int,string,TMPro.TMP_FontAsset>)arg0.func;
- TMPro.TMP_Text.OnFontAssetRequest -= ev;
- }
- return 0;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_OnSpriteAssetRequest(IntPtr L)
- {
- try
- {
- EventObject arg0 = null;
- if (LuaDLL.lua_isuserdata(L, 2) != 0)
- {
- arg0 = (EventObject)ToLua.ToObject(L, 2);
- }
- else
- {
- return LuaDLL.luaL_throw(L, "The event 'TMPro.TMP_Text.OnSpriteAssetRequest' can only appear on the left hand side of += or -= when used outside of the type 'TMPro.TMP_Text'");
- }
- if (arg0.op == EventOp.Add)
- {
- System.Func<int,string,TMPro.TMP_SpriteAsset> ev = (System.Func<int,string,TMPro.TMP_SpriteAsset>)arg0.func;
- TMPro.TMP_Text.OnSpriteAssetRequest += ev;
- }
- else if (arg0.op == EventOp.Sub)
- {
- System.Func<int,string,TMPro.TMP_SpriteAsset> ev = (System.Func<int,string,TMPro.TMP_SpriteAsset>)arg0.func;
- TMPro.TMP_Text.OnSpriteAssetRequest -= ev;
- }
- return 0;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_OnPreRenderText(IntPtr L)
- {
- try
- {
- TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject(L, 1, typeof(TMPro.TMP_Text));
- EventObject arg0 = null;
- if (LuaDLL.lua_isuserdata(L, 2) != 0)
- {
- arg0 = (EventObject)ToLua.ToObject(L, 2);
- }
- else
- {
- return LuaDLL.luaL_throw(L, "The event 'TMPro.TMP_Text.OnPreRenderText' can only appear on the left hand side of += or -= when used outside of the type 'TMPro.TMP_Text'");
- }
- if (arg0.op == EventOp.Add)
- {
- System.Action<TMPro.TMP_TextInfo> ev = (System.Action<TMPro.TMP_TextInfo>)arg0.func;
- obj.OnPreRenderText += ev;
- }
- else if (arg0.op == EventOp.Sub)
- {
- System.Action<TMPro.TMP_TextInfo> ev = (System.Action<TMPro.TMP_TextInfo>)arg0.func;
- obj.OnPreRenderText -= ev;
- }
- return 0;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- }
|