TweenValue() public method

public TweenValue ( float value, float duration ) : Tweener
value float
duration float
return Tweener
 static public int TweenValue(IntPtr l)
 {
     try {
         FairyGUI.GProgressBar self = (FairyGUI.GProgressBar)checkSelf(l);
         System.Single         a1;
         checkType(l, 2, out a1);
         System.Single a2;
         checkType(l, 3, out a2);
         var ret = self.TweenValue(a1, a2);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int TweenValue(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         FairyGUI.GProgressBar obj = (FairyGUI.GProgressBar)ToLua.CheckObject <FairyGUI.GProgressBar>(L, 1);
         double arg0           = (double)LuaDLL.luaL_checknumber(L, 2);
         float  arg1           = (float)LuaDLL.luaL_checknumber(L, 3);
         DG.Tweening.Tweener o = obj.TweenValue(arg0, arg1);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }