vector array element multiply with a vector to set y to zero

Hi,
one problem: I wanna make a vector(x,y,z) * vector(1,0,1) to set the first vector to vector(x,0,z).
But the problem is, that I have an Array Vector like this:
vector is maybe (23,55,77), so I think I can do
this here: vector = vector * vector(1,0,1)
But UNITY don’t want this.
Can somebody help me?

1 Like