기술 자료

Unity Engine

Unity Engine

OnDestroy()

OnDestroy is called to close the EditorWindow window.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void OnDestroy()

Remarks

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

Examples

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