Version: 2023.1
언어: 한국어

TagConstraintAttributeConstructor

매뉴얼로 전환
public TagConstraintAttribute (bool negate, params string[] tags);

파라미터

negate Set to true to enable filter attributes when shader tags do not match any of the tags.
tags The array of tag name-value pairs to match to.

설명

Enable or disable shader keyword filter attributes based on shader tags.

Unity enables filter attributes if the shader compilation context contains any of the tags.