dotween

Create and manage DOTween animations in Unity with lifecycle-safe cleanup.

3|Updated Jun 27, 2026
One-click install
npx skills add https://github.com/OmerZeyveli/kinglet-unity --skill dotween-omerzeyveli
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dotween
Source: https://github.com/OmerZeyveli/kinglet-unity/tree/main/.claude/skills/third-party/dotween
Command: npx skills add https://github.com/OmerZeyveli/kinglet-unity --skill dotween-omerzeyveli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps Unity developers create polished, coordinated animations while preventing abandoned tweens, memory leaks, and errors caused by destroyed objects.

Core Features & Use Cases

  • Tween Composition: Animate transforms, UI elements, colors, materials, arbitrary values, paths, punches, and shakes.
  • Lifecycle Management: Store, pause, restart, identify, and kill tweens safely, especially during object destruction.
  • Sequencing and Timing: Combine animations with append, join, insert, intervals, callbacks, loops, easing, and unscaled time.
  • Use Case: Build a pause-menu transition that fades a CanvasGroup and slides a panel into view while ensuring all active animations are stopped when the screen is destroyed.

Quick Start

Use the dotween skill to implement a Unity UI transition with composed tweens, appropriate easing, and reliable cleanup in OnDestroy.

Frequently Asked Questions about dotween

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent memory leaks from DOTween animations targeting destroyed Unity objects?▼

Prevent memory leaks in DOTween by requiring explicit tween ownership, replacing conflicting tweens, and cleaning up through stored references, target killing, or unique identifiers in OnDestroy.

How do I sequence multiple UI animations in Unity with DOTween?▼

Sequence UI animations in Unity with DOTween by combining tweens using append, join, insert, intervals, and callbacks, allowing coordinated transitions like fading a CanvasGroup while sliding a panel.

How do I safely kill active tweens when a Unity GameObject is destroyed?▼

Safely kill active DOTween tweens during GameObject destruction by maintaining stored references to the tweens and calling kill operations on those targets or identifiers within the OnDestroy lifecycle method.

Can I use DOTween for pause-menu transitions and control animation timing with unscaled time?▼

Use DOTween to build pause-menu transitions by fading UI elements and sliding panels, controlling timing through easing, loops, callbacks, and unscaled time to ensure animations run independently of game time.

What is the best way to manage DOTween animation lifecycle and avoid errors from abandoned tweens?▼

The best way to manage DOTween animation lifecycle is to enforce explicit tween ownership, replace conflicting tweens, apply appropriate update timing, and execute reliable cleanup through stored references or target killing.

Why do my Unity DOTween animations throw errors when changing scenes or destroying UI panels?▼

DOTween animations throw errors when destroying UI panels because active tweens still reference the destroyed objects, requiring you to kill tweens via stored references or identifiers in OnDestroy.