ドキュメント

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.