protected override Tween DOPlay() { if (null == m_text) { return(null); } // end if return(m_text.DOText(m_toStr, m_duration, m_richTextEnabled, m_scrambleMode, m_scrambleChars)); }
static int _m_DOText(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.UI.Text __cl_gen_to_be_invoked = (UnityEngine.UI.Text)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 6 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4) && translator.Assignable <DG.Tweening.ScrambleMode>(L, 5) && (LuaAPI.lua_isnil(L, 6) || LuaAPI.lua_type(L, 6) == LuaTypes.LUA_TSTRING)) { string endValue = LuaAPI.lua_tostring(L, 2); float duration = (float)LuaAPI.lua_tonumber(L, 3); bool richTextEnabled = LuaAPI.lua_toboolean(L, 4); DG.Tweening.ScrambleMode scrambleMode; translator.Get(L, 5, out scrambleMode); string scrambleChars = LuaAPI.lua_tostring(L, 6); DG.Tweening.Tweener __cl_gen_ret = __cl_gen_to_be_invoked.DOText(endValue, duration, richTextEnabled, scrambleMode, scrambleChars); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 5 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4) && translator.Assignable <DG.Tweening.ScrambleMode>(L, 5)) { string endValue = LuaAPI.lua_tostring(L, 2); float duration = (float)LuaAPI.lua_tonumber(L, 3); bool richTextEnabled = LuaAPI.lua_toboolean(L, 4); DG.Tweening.ScrambleMode scrambleMode; translator.Get(L, 5, out scrambleMode); DG.Tweening.Tweener __cl_gen_ret = __cl_gen_to_be_invoked.DOText(endValue, duration, richTextEnabled, scrambleMode); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 4 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) { string endValue = LuaAPI.lua_tostring(L, 2); float duration = (float)LuaAPI.lua_tonumber(L, 3); bool richTextEnabled = LuaAPI.lua_toboolean(L, 4); DG.Tweening.Tweener __cl_gen_ret = __cl_gen_to_be_invoked.DOText(endValue, duration, richTextEnabled); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 3 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { string endValue = LuaAPI.lua_tostring(L, 2); float duration = (float)LuaAPI.lua_tonumber(L, 3); DG.Tweening.Tweener __cl_gen_ret = __cl_gen_to_be_invoked.DOText(endValue, duration); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.UI.Text.DOText!")); }