This version of Unity is unsupported.

CompilationPipeline.GetDefinesFromAssemblyName

Declaration

public static string[] GetDefinesFromAssemblyName(string assemblyName);

Parameters

assemblyName The name of the assembly without the extension.

Returns

string[] A string array of #define directives declared for the assembly. Returns null if the assembly is not found.

Description

Lists all the #define directives used to compile the specified assembly.