Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EnterPlayModeOptions

Determines the flags for the Enter Play Mode Options in the Unity Editor.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
[Flags]public enum EnterPlayModeOptions

Fields

Value

Description

DisableDomainReloadWhen Domain Reload is disabled, scripts are not reloaded when entering Play Mode. This makes it quicker to switch to Play Mode, because there's no need to destroy, create and reload the .NET Application Domain.
DisableSceneReloadWhen Scene Reload is disabled, Unity resets the Scene state and emulates all of the required post-processor calls when entering Play Mode, instead of reloading the whole Scene. This makes it quicker to switch to Play Mode, because there's no need to destroy, create and awaken all the Scene objects, and serialize and deserialize the Scene from disk.
NoneThis makes Unity reload the .NET Application Domain and entire Scene when entering Play Mode.