OnFocus()
Called when the window gets keyboard focus.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor
public void OnFocus()
Remarks
Additional Resources: OnLostFocus.
Preview your camera in orthographic mode when you select the window.

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