I am making a code so that a player can hit a button and add an item to his list. All the items are stored in an array. How do I make the array longer using code? I tried myArray.Length++; but its a read only.
Try using System.Array.Resize.(myArray, myArray.Length + 1);
Or have a read on javascript containers Here