How to create and use ArrayList in Unity using CSharp
Features of ArrayList in Unity:
ArrayList inventory = new ArrayList();
inventory.Add("gun");
inventory.Add(1);
inventory.Add(GameObject.Find("player"));
Join the newsletter to receive the latest updates in your inbox.