using System.Collections.Generic; using DG.Tweening; using JetBrains.Annotations; using UnityEngine; namespace Dott { public interface IDOTweenAnimation { Tween CreateTween(bool regenerateIfExists, bool andPlay = true); #region Timeline editor dependencies float Delay { get; set; } float Duration { get; } int Loops { get; } bool IsValid { get; } bool IsActive { get; } bool IsFrom { get; } bool AllowEditorCallbacks => false; bool CallbackView => false; Texture2D CustomIcon => null; string Label { get; } Component Component { get; } [CanBeNull] Tween CreateEditorPreview(); [ItemCanBeNull] IEnumerable Targets { get; } #endregion } }