Version: 2021.3
言語: 日本語
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.

説明

Sets the value of a named integer property.

Automatically changes overridden state for this property to true.