static int _g_get_strokeColor(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.ITextColorGear gen_to_be_invoked = (FairyGUI.ITextColorGear)translator.FastGetCSObj(L, 1); translator.PushUnityEngineColor(L, gen_to_be_invoked.strokeColor); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_strokeColor(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.ITextColorGear gen_to_be_invoked = (FairyGUI.ITextColorGear)translator.FastGetCSObj(L, 1); UnityEngine.Color gen_value; translator.Get(L, 2, out gen_value); gen_to_be_invoked.strokeColor = gen_value; } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }