Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsDefineConstraintsCompatible(string[], string[])

Allows you to test whether the specified #define constraints are satisfied by the specified list of #define directives.
Read time 1 minuteLast updated 10 days ago

Definition

public static bool IsDefineConstraintsCompatible(string[] defines, string[] defineConstraints)

Parameters

defines

A string array of #define directives.

defineConstraints

A string array of #define directives to to check compatibility against.

Returns

Type

Description

boolTrue if the specified #define constraints are satisfied by the specified #define directives. Otherwise returns False.

Remarks

Additional Resources: Assembly, CompilationPipeline.