public void SetBool (int nameID, bool b);
public void SetBool (string name, bool b);

Parameters

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameThe name of the property.
bThe new boolean value.

Description

The new bool value.

Automatically changes overridden state for this property to true.