Documentation

Unity Engine

Unity Engine

MaterialUsageBasedVariants

Generates variants only for the keyword combinations used by the materials in the build.
Read time 1 minuteLast updated a month ago

Definition

MaterialUsageBasedVariants = 1

Remarks

This matches the behavior when you declare keywords as
shader_feature
.