static int _m_DOFade(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.UI.Text __cl_gen_to_be_invoked = (UnityEngine.UI.Text)translator.FastGetCSObj(L, 1); { float endValue = (float)LuaAPI.lua_tonumber(L, 2); float duration = (float)LuaAPI.lua_tonumber(L, 3); DG.Tweening.Tweener __cl_gen_ret = __cl_gen_to_be_invoked.DOFade(endValue, duration); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
protected override Tween DOPlay() { if (null == m_text) { return(null); } // end if return(m_text.DOFade(m_toAlpha, m_duration)); }