Documentation

Unity Engine

Download Unity

Unity Engine

scriptingDefines

Lists the user-specified script compilation defines in the build profile.
Read time 1 minuteLast updated 2 months ago

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.