Version: 2019.4
public void SetVector2 (int nameID, Vector2 v);
public void SetVector2 (string name, Vector2 v);

パラメーター

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

説明

The new Vector2 value.

Automatically changes overridden state for this property to true.