vector3 array defaults to Integer and can't be changed?

set up a 2d array of vector3’s

Vector3[,] flowField;

but whenever I try to set it

flowField = new Vector3[flowFieldSize,flowFieldSize];

I get a "cannot implicitly convert type ‘float’ to ‘int’ meaning that the vector 3’s are vector 3’s holding integers… how do I change them to accept floats instead?

The only way you could get this warning is if flowFieldSize is a float. When defining array sizes you need to use integers.

int flowFieldSize = 10;
flowField = new Vector3[flowFieldSize, flowFieldSize];
// assign some random element in 2D array
flowField[2, 5] = new Vector3(1.05f, 2.5f, 3.7f);