Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnSelectionChange()

Called whenever the selection has changed.
Read time 1 minuteLast updated 5 days ago

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}