Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetPlayModeFocused(bool)

Changes the enter play mode behavior of the selected PlayModeView window.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetPlayModeFocused(bool focused)

Parameters

focused

If true, sets the view to Focused, otherwise to maximized.