static int _m_DOBlendableColor(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                UnityEngine.UI.Graphic gen_to_be_invoked = (UnityEngine.UI.Graphic)translator.FastGetCSObj(L, 1);



                {
                    UnityEngine.Color _endValue; translator.Get(L, 2, out _endValue);
                    float             _duration = (float)LuaAPI.lua_tonumber(L, 3);

                    DG.Tweening.Tweener gen_ret = gen_to_be_invoked.DOBlendableColor(_endValue, _duration);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Example #2
0
 protected override Tween DOPlay()
 {
     if (null == m_Graphic)
     {
         return(null);
     }
     // end if
     return(m_Graphic.DOBlendableColor(m_toColor, m_duration));
 }