scriptingDefines
Lists the user-specified script compilation defines in the build profile.
阅读时间1 分钟最后更新于 2 个月前
Definition
- Type: Property
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor.CoreModule
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.