void UpdateProgressBar()
 {
     if (asyncLoading != null)
     {
         progressBar.DOSizeDelta(new Vector2(Screen.width * asyncLoading.progress, progressBar.sizeDelta.y), 0.5f).Play();
     }
 }
    static int DOSizeDelta(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 3)
            {
                UnityEngine.RectTransform obj  = (UnityEngine.RectTransform)ToLua.CheckObject(L, 1, typeof(UnityEngine.RectTransform));
                UnityEngine.Vector2       arg0 = ToLua.ToVector2(L, 2);
                float arg1            = (float)LuaDLL.luaL_checknumber(L, 3);
                DG.Tweening.Tweener o = obj.DOSizeDelta(arg0, arg1);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 4)
            {
                UnityEngine.RectTransform obj  = (UnityEngine.RectTransform)ToLua.CheckObject(L, 1, typeof(UnityEngine.RectTransform));
                UnityEngine.Vector2       arg0 = ToLua.ToVector2(L, 2);
                float arg1            = (float)LuaDLL.luaL_checknumber(L, 3);
                bool  arg2            = LuaDLL.luaL_checkboolean(L, 4);
                DG.Tweening.Tweener o = obj.DOSizeDelta(arg0, arg1, arg2);
                ToLua.PushObject(L, o);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.RectTransform.DOSizeDelta"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
 protected override Tween DOPlay()
 {
     if (null == m_rectTransform)
     {
         return(null);
     }
     // end if
     return(m_rectTransform.DOSizeDelta(m_toSizeDelta, m_duration, m_isSnapping));
 }