I’m making a script that reads through an array or list and I want it to stop wen there are no more variables to pull from instead of crashing wen there is nothing left to read
I’m forcing it to stop reading my float array by converting it to a string array or list and adding the word “stop” at the end and stoping wen it reads this before it teaches the end
I’m looking for a clean way of achieving this in c#
//Update through array list play black
If(stringArray == "stop"){
readArrayIO = false;
}