Hello, I am trying to make a shader in Unity and I have come across an issue with an array. Is it possible to use .length to calculate how long an array is or do I have to do it another way? Currently I keep getting an index out of bounds error and I think that might be the cause.
↧