ドキュメント

Unity Engine

Unity Engine

Event examples

Examples for UI Toolkit events.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

Learn UI Toolkit events by examples.

Transition

Topics

Description

Create a simple transition with UI Builder and C# scriptsCreate a custom Editor window with three labels that rotate and scale when you hover over them.
Create a transition eventCreate a custom Editor window with a button and color palette.
Create looping transitionsCreate a Yo-yo and a A-to-B looping animations.

Drag-and-drop

Topics

Description

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

Additional resources