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 bool value.

Description

Use this method to set the value of a bool with the name you pass in.