LanguageEnglish
  • C#

PlayerSettings.GetScriptingDefineSymbols

Switch to Manual

Declaration

public static string GetScriptingDefineSymbols(Build.NamedBuildTarget buildTarget);

Parameters

buildTarget The NamedBuildTarget.

Returns

string A string containing the symbols for the given build target name.

Description

Gets the user-specified symbols for script compilation for the build target you select.


Declaration

public static void GetScriptingDefineSymbols(Build.NamedBuildTarget buildTarget, out string[] defines);

Parameters

buildTarget The NamedBuildTarget.
defines A string array where Unity stores the symbols for the given build target name.

Description

Gets the user-specified symbols for script compilation for the build target you select.


Did you find this page useful? Please give it a rating: