Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MaterialUsageBasedVariants

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

Definition

MaterialUsageBasedVariants = 1

Remarks

This matches the behavior when you declare keywords as
shader_feature
.