I often need to multiply two vectors together one element at a time. This is called the Hadamard Product. Typically I do it this way:
Vector3 a=new Vector3(1,2,3);
Vector3 b=new Vector3(4,5,6);
Vector3 result = new Vector3(a.x*b.x, a.y*b.y, a.z*b.z);
// result: (4, 10, 18)
But there is a simpler way to do this.
Vector3.Scale(Vector3 a, Vector3 b) can perform this operation with just one command:
Vector3 a=new Vector3(1,2,3);
Vector3 b=new Vector3(4,5,6);
Vector3 result = Vector3.Scale(a, b);
//result: (4, 10, 18)