EnterPlayModeOptions
Determines the flags for the Enter Play Mode Options in the Unity Editor.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
[Flags]public enum EnterPlayModeOptions
Fields
Value | Description |
|---|---|
| DisableDomainReload | When 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. |
| DisableSceneReload | When 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. |
| None | This makes Unity reload the .NET Application Domain and entire Scene when entering Play Mode. |