Version: 2022.2

BuildPlayerOptions.extraScriptingDefines

切换到手册
public string[] extraScriptingDefines ;

描述

User-specified preprocessor defines used while compiling assemblies for the player.