Make an arralist with arrays

Hey guys,

i’m making a geographic game, and I made a couple of arrays (country, capital, president, difficulty…)
now I want to separete the nations into levels (difficulty). For exampel Germany or USA are Level 1, Bahamas Level 4 and so on
Now my question: can I store all the different data into one arraylist? (I’m using javascript)
I have over 1500 values and mostly strings in my arrays, so i don’t want to put the data manually into the list

thanks for your answers and sorry for my english

You can use Lists, or Dictionaries. You can also create your own object types, which can have as many data types as you need. Here’s a link to a Unity tutorial: Lists and Dictionaries - Unity Learn

Once you decide, all you need to do is use something like a for loop and pass the data into the “list”.

Hope this helps @renation23! :slight_smile: