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

Parameters

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

Description

Use this method to set the value of a Vector2 with the name you pass in.