public void SetInt (int nameID, int i);
public void SetInt (string name, int i);

파라미터

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

설명

Use this method to set the value of an integer with the name you pass in.