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

Parámetros

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameEl nombre de una propiedad.
fThe new float value.

Descripción

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