static public int constructor(IntPtr l) {
		try {
			DG.Tweening.EaseFactory o;
			o=new DG.Tweening.EaseFactory();
			pushValue(l,true);
			pushValue(l,o);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
示例#2
0
 static public int constructor(IntPtr l)
 {
     try {
         DG.Tweening.EaseFactory o;
         o = new DG.Tweening.EaseFactory();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
    static int _CreateDG_Tweening_EaseFactory(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                DG.Tweening.EaseFactory obj = new DG.Tweening.EaseFactory();
                ToLua.PushObject(L, obj);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: DG.Tweening.EaseFactory.New"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
示例#4
0
 // Token: 0x06000062 RID: 98 RVA: 0x00002DDD File Offset: 0x00000FDD
 public static EaseFunction StopMotion(int motionFps, AnimationCurve animCurve)
 {
     return(EaseFactory.StopMotion(motionFps, new EaseFunction(new EaseCurve(animCurve).Evaluate)));
 }
示例#5
0
        // Token: 0x06000061 RID: 97 RVA: 0x00002DAC File Offset: 0x00000FAC
        public static EaseFunction StopMotion(int motionFps, Ease?ease = null)
        {
            EaseFunction customEase = EaseManager.ToEaseFunction((ease == null) ? DOTween.defaultEaseType : ease.Value);

            return(EaseFactory.StopMotion(motionFps, customEase));
        }