文档

Unity Engine

Unity Engine

OnSelectionChange()

Called whenever the selection has changed.
阅读时间1 分钟最后更新于 14 天前

Definition

public void OnSelectionChange()

Remarks

SelectionChange (OnSelectionChange())
Saves the current selection and load it later with a simple click.

Examples

{code Modules/UIElements/Tests/UIElementsExamples/Assets/EditorWindowCodeExamples/OnSelectionChangeExample.cs}