OnDestroy()
OnDestroy is called to close the EditorWindow window.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
public void OnDestroy()
Remarks

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