文档

Unity Engine

Unity Engine

OnDestroy()

OnDestroy is called to close the EditorWindow window.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void OnDestroy()

Remarks

EditorWindowOnDestroy (OnDestroy())
A simple example of OnDestroy()

Examples

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