public void SetFloat (int nameID, float f);
public void SetFloat (string name, float f);

파라미터

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

설명

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