I am needing to create 15 buttons which are in 3 rows of 5. I have tried using a for loop but this does not work due to GUI.Buttons being in an if statement. How do you create buttons in a loop so I do not have to have a large amount of code for the buttons?
Just for all those people out there, if you put an if statement for a button in a for loop it pauses the loop because it is waiting for the true statement to be returned. Simply putting the if statement in the for loop does not work.