Version: 2021.2
言語: 日本語
public void SetInt (int nameID, int i);
public void SetInt (string name, int i);

パラメーター

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name プロパティーの名前
i The new integer value.

説明

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