文档

Unity Engine

Download Unity

Unity Engine

scriptingDefines

Lists the user-specified script compilation defines in the build profile.
阅读时间1 分钟最后更新于 2 个月前

Definition

public string[] scriptingDefines { get; set; }

Remarks

Player and Editor scripts include these script compilation defines only if the build profile is active. Additional Resources: PlayerSettings.