ドキュメント

Unity Engine

Unity Engine

OnFocus()

Called when the window gets keyboard focus.
読み終わるまでの所要時間 1 分最終更新 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}