private void Start() { _tweenCore = new TweenCore(); var anim = new UnityTweenFloat <CanvasGroup>(_canvasGroup, "alpha", 0.0f) .SetDuration(1f).SetForwardEase(Ease.Linear); _tweenCore.Append(anim).SetWrap(WrapMode.PingPong); }
private void Start() { _tweenCore = new TweenCore(); var anim = new UnityTweenVector3 <Transform>(_transform, "position", Vector3.one, true) .SetDuration(1f).SetForwardEase(Ease.Linear); _tweenCore.Append(anim).SetWrap(WrapMode.PingPong); PlayForward(); }