list amount unity code example Example: unity lists number of list.IndexOf(thing); //Replace list with a list //Replace thing with something