Version: 2023.2

CodeOptimization

enumeration

切换到手册

描述

Code optimization mode defines whether UnityEditor compiles scripts in Debug or Release mode.

变量

NoneUnitialized value for code optimization mode.
DebugDebug mode enables C# debugging but reduces C# performance.
ReleaseRelease mode disables C# debugging but improves C# performance.