Scene Gizmos - rmfandyplayz/UnityUIAnimationTools GitHub Wiki

With a player selected, the Scene view draws what its animations do:

  • Movement (Anchored Position and Local Position, paths included): a line from start to end, with arrows showing the direction. A ring marks the start and a dot the end.
  • Resizing (Size Delta, Offset Min, Offset Max and Scale): the element's outline at several moments during the step, fading in from first to last.

Rotation, colour, fades, shader values, punch and shake, Set Active, sound and Custom Property steps aren't drawn. Nor is a step that doesn't go anywhere.

Settings

The Scene Gizmos button under the preview buttons opens the settings:

Setting Options
Show Disabled · All Animations · Expanded Animations (the default) · Expanded Steps. "Expanded" means open in the Inspector, so you see what you're working on.
Colors Distinct: a clearly different colour for each drawing (Shuffle Colors for a new set). Rainbow: red for the first step through to purple for the last. Rainbow only works with Expanded Steps.
Outlines How many outlines a resizing step is drawn with, 2 to 12

These are your own editor preferences, never saved into a scene or asset. Gizmos only draw outside play mode. An Animation Set draws on its Preview On player.

Where drawings start

A step without a From is drawn starting from where the steps before it leave the object, so the second step of a slide is drawn from where the first one ends. Drawings hold still while a preview moves the real objects.

They can't know where a different animation left things, though. With All Animations, each is drawn as if played from rest, so a Close that normally follows its Open is drawn from rest.

Under the hood
  • The gizmos replay each animation "on paper" from its resting state, sharing the player's own timeline code, stepped eases and path maths rather than copying them. Checked against real playback: every drawn moment lands within 0.07 units of where the object really is, snapping and Play At Custom FPS included.
  • During a preview, the resting state is the one the preview captured before anything moved, which is why drawings stay put.
  • Rainbow isn't used outside Expanded Steps because across whole animations a gradient says nothing a distinct colour doesn't say better. Your choice is kept for when you switch back.
  • Drawing all 30 animations of a large UI prefab costs about 1.3 ms.
⚠️ **GitHub.com Fallback** ⚠️