I wrote this string
Instantiate(NcolWoodOneTile, new Vector3(x, y) * tileSideLength -0.16, Quaternion.identity);
But the “minus” symbol is causing a problem. How would you correctly write this to fix a .16 unit offset?
Instantiate(NcolWoodOneTile, new Vector3(x, y) * tileSideLength -0.16f, Quaternion.identity);
0.16f - maybe this is problem.
And i forgot that you can only multiply vector,you cant use “+” or “-” operators with vectors.
You probably want to do:
Instantiate(NcolWoodOneTile, new Vector3(x, y) * (tileSideLength - 0.16f), Quaternion.identity);
Multiplications have precedence. So in your case the vector is multiplied by tileSideLength and then you try to subtract a single number from a vector which isn’t possible. I guess you want to execute the subtraction before the multiplication. In that case you have to put them in brackets.