Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnLostFocus()

Called when the window loses keyboard focus.
Read time 1 minuteLast updated 4 days ago

Definition

public void OnLostFocus()

Remarks

Additional Resources: OnFocus.
OrthographicPreviewer (OnLostFocus())
Restores normal view when you lose focus on this window.

Examples

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