Version: 2022.1
言語: 日本語
public void SetVector2 (int nameID, Vector2 v);
public void SetVector2 (string name, Vector2 v);

パラメーター

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

説明

Sets the value of a named Vector2 property.

Automatically changes overridden state for this property to true.