文档

Unity Engine

Download Unity

Unity Engine

OnDestroy()

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

Definition

public void OnDestroy()

Remarks

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

Examples

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