Skip to content

mitay-walle/com.mitay-walle.ui-selectable-preview-overlay

Repository files navigation

Unity3d Selectable Preview Overlay

Unity3d SceneView Overlay to preview Graphic states of UI.Selectable (Button, Toggle etc)

Youtube view usage exampe

selectableOverlay2

Panel / horizontal docked / vertical docked / collapsed

image image image image

Installation

Summary

  • single-file script
  • dockable overlay
  • hides if no Selectable in selection
  • not change any Serialized (saved) values, only temporal
  • preview all built-in animations: color, sprite swap, animation,
  • preview Custom animations based on UI.Selectable.DoStateTransition
  • Tested witn Unity 6, Unity 2022

Support Any Selectables

Screenshots

Normal state no overrides, undocked Panel view

image

Toggle.isOn is inverted

image

Docked toolbar view

image

Button state is overriden to Pressed, also scaled by custom script based on UI.Selectable.DoStateTransition()

image

All selected Selectables states overriden to Selected

image

About

Unity3d SceneView Overlay to preview Graphic states of UI.Selectable (Button, Toggle etc)

Topics

Resources

License

Stars

Watchers

Forks

Languages