Documentation

Unity Engine

Unity Engine

KeywordDeclarationOverrides

An array of all the keyword declaration overrides in this settings configuration.
Read time 1 minuteLast updated a month ago

Definition

public ShaderBuildSettings.KeywordDeclarationOverride[] KeywordDeclarationOverrides { set; }

Remarks

Setting the value of this property will run validation on the data and throw an
ArgumentException
in the case of invalid data. This property can only be used for setting the override data. To read the current data the ShaderBuildSettings.GetKeywordDeclarationOverridesCopy method must be used.