/// <summary> /// Runs this instruction. /// </summary> public override void Run() { if (!DoubleAnimationObject.IsStarted) { DoubleAnimationObject.Start(); } CodeCallback?.Invoke(DoubleAnimationObject.CurrentValue, this); if (DoubleAnimationObject.IsFinished) { IsFinished = true; } base.Run(); }
public override void Reset() { DoubleAnimationObject.Reset(); base.Reset(); }