scriptingDefines
Lists the user-specified script compilation defines in the build profile.
Read time 1 minuteLast updated 11 days ago
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.