/* // ReSharper disable UnusedMemberInSuper.Global using System; using JetBrains.Annotations; namespace PrimeTween { // ReSharper disable once TypeParameterCanBeVariant internal interface ITween { bool isAlive { get; } void Stop(); void Complete(); void SetRemainingCycles(int cycles); void SetRemainingCycles(bool stopAtEndValue); int cyclesDone { get; } int cyclesTotal { get; } bool isPaused { get; set; } float timeScale { get; set; } float duration { get; } float durationTotal { get; } float elapsedTime { get; set; } float elapsedTimeTotal { get; set; } float progress { get; set; } float progressTotal { get; set; } public System.Collections.IEnumerator ToYieldInstruction(); #pragma warning disable CS0618 // Type or member is obsolete public Tween.TweenAwaiter GetAwaiter(); #pragma warning restore CS0618 // Type or member is obsolete TResult OnComplete([NotNull] Action onComplete, bool? warnIfTargetDestroyed = null); TResult OnComplete([NotNull] T target, [NotNull] Action onComplete, bool? warnIfTargetDestroyed = null) where T : class; Sequence Group(Tween tween); Sequence Chain(Tween tween); Sequence Group(Sequence sequence); Sequence Chain(Sequence sequence); // TResult OnUpdate(T target, Action onUpdate) where T : class; // Sequence doesn't support OnUpdate because its root updates before all children tweens, but it's reasonable that OnUpdate() should be called AFTER all sequence children are updated } } */