特点 Feature
- 1> 易于扩展 Extendable
- 2> 可视化定制变化曲线 Customize ease function visible
- 3> 链式调用 Method chaning call
new VTimeLine()
.AddTween(gameObject, 2)
.AddProp(new PositionModifier(Vector3.one * 100, true, Vector3.up), Ease.Curve(yCurve))
.AddProp(new PositionModifier(Vector3.one * 300, true, Vector3.right), EaseBounce.EaseIn)
.AddProp(new ColorModifier(new Color(0, 0, 0, 0), ColorChannel.A), EaseCirc.EaseInOut)
.AddProp(new ScaleModifier(Vector3.one * 2, Vector3.up))
.TimeLine()
.Start(gameObject);