기술 자료

Unity Engine

Unity Engine

OnFocus()

Called when the window gets keyboard focus.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void OnFocus()

Remarks

Additional Resources: OnLostFocus.
OrthographicPreviewer (OnFocus())
Preview your camera in orthographic mode when you select the window.

Examples

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