unity-dotween

Automates DOTween settings validation, module discovery, and DOTweenAnimation component configuration in the Unity editor.

2|Updated May 18, 2026
One-click install
npx skills add https://github.com/pcone-mm/NewFPG --skill unity-dotween-pcone-mm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-dotween
Source: https://github.com/pcone-mm/NewFPG/tree/main/.agents/skills/unity-skills/skills/dotween
Command: npx skills add https://github.com/pcone-mm/NewFPG --skill unity-dotween-pcone-mm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up and configuring DOTween in a Unity project involves repetitive manual work: verifying the install, locating and validating DOTweenSettings.asset, discovering available modules and shortcut methods, and hand-configuring DOTweenAnimation components on GameObjects. This Skill automates those editor-time tasks through a set of query, mutation, and script-generation operations. ## Core Features & Use Cases - Diagnostics & Settings: Report DOTween Free/Pro install status, find and read DOTweenSettings.asset, validate capacities and SafeMode warnings, and configure defaults like ease type, auto-kill, and loop type. - API Discovery: List loaded DOTween modules, ShortcutExtensions, and public shortcut methods with optional filters by target type or method prefix. - Runtime Script Generation: Generate tween, sequence, and lifecycle-safe MonoBehaviour scripts (with SetLink and KillTween) without overwriting existing files. - Pro Animation Editing: Add, batch-add, stagger, tune, copy, and remove DOTweenAnimation components on GameObjects, including UI cascade entrance patterns. - Use Case: A developer says "配置动画插件" — the Skill validates the DOTween install, then batch-adds staggered fade-in DOTweenAnimation components across a UI panel's buttons with incrementing delays. ## Quick Start Ask the assistant to check the DOTween install status in this Unity project and validate the DOTweenSettings asset.

Frequently Asked Questions about unity-dotween

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

FAQPage Schema
How do I add a DOTweenAnimation component to a GameObject in Unity?

Use the dotween_pro_add_animation operation with a target GameObject, an animationType such as Move or Fade, the matching end value parameter, and optional duration, ease, loops, and delay. This requires DOTween Pro because DOTweenAnimation is a Pro-only class.

How do I create staggered UI entrance animations with DOTween?

Use dotween_pro_stagger_animations with a JSON array of target GameObjects, an animationType, and a staggerDelay value. It batch-adds DOTweenAnimation components with incrementing delays, producing a cascade entrance effect common in UI panels.

Does DOTween Free support DOTweenAnimation components?

No. DOTweenAnimation is part of DOTween Pro only, so all dotween_pro_* operations require the Pro version. DOTween Free still supports status checks, settings validation and configuration, module listing, and runtime tween script generation.

Why does DOTween script generation require special approval?

Generating a new .cs file triggers Unity script compilation and a Domain Reload, which is classified as high risk. The generation operations are auto-forbidden under restricted mode and only run under Bypass mode or an explicit user allowlist entry.

What happens if DOTween is not installed in the project?

The DOTweenPresenceDetector does not add the DOTWEEN or DOTWEEN_PRO scripting defines, so most operations return a not-installed diagnostic instead of executing. Install DOTween Free or Pro first, after which the defines are added automatically.