Version: 2022.1

EditorSettings.enterPlayModeOptionsEnabled

切换到手册
public static bool enterPlayModeOptionsEnabled ;

描述

Determines whether the Enter Play Mode Options are enabled in the Unity Editor or not.

This feature helps reduce Editor iteration time by allowing you to disable Domain Reload and Scene Reload from the Enter Play Mode process by changing the EditorSettings.enterPlayModeOptions Editor Settings.