Version: 2022.2
IMGUI 事件
Create a transition in a custom Editor window

Event examples

Learn UI Toolkit events by examples.

Transition

Topics 描述
Create a transition in a custom Editor window Create a custom Editor window with three labels that rotate and scale when you hover over them.
Create a transition event Create a custom Editor window with a button and color palette.
Create looping transitions Create a Yo-yo and a A-to-B looping animations.

Drag-and-drop

Topics 描述
Create a drag-and-drop UI inside a custom Editor window Create several slots, and one object that can be dragged into any slot.
Create a drag-and-drop UI to drag between Editor windows Create two custom Editor windows that an asset can be dragged from one window to another.

其他资源

IMGUI 事件
Create a transition in a custom Editor window