Same as a Section control, but can apply/remove shader keywords to toggle features via our material inspector add/remove tab UI.
Requirements:
-
"Float" type property.
-
Feature attribute.
-
[Toggle()] property drawer with a keyword.
-
RGB header color passed as list of byte values [0,255].
-
A unique display name.
Example:
[Toggle(_EXAMPLE_ON)]
_ExampleProperties ("'Unique Display Name' {Feature:{109, 126, 41}}", Float) = 0