文档

Unity Engine

Unity Engine

IsDefineConstraintsCompatible(string[], string[])

Allows you to test whether the specified #define constraints are satisfied by the specified list of #define directives.
阅读时间1 分钟最后更新于 1 个月前

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.