I have been learning unity & programming with a help of someone. He gave me some exercises to do but I am little confused on a certain task.
First of all I need to tell you what I am making. He gave me a task to make stats for and RPG like game and to see them in the inspector, by using lists, so I can store each players stats.
I have some variables i setup: Examples: CurrentHP, maxHP, name, currentLevel, maxLevel, currentMana, MaxMana…
I am confused beacuse he said to put:
curHp,maxHp curMana,maxMana curXp,maxXP curLevel, maxLevel,
into 2D Arrays. But i do now know why I should put them in 2D Arrays.
I don’t know why I should put them into 2D arrays instead of normal arrays. Maybe so we can track where players health is from 0 to max?
Thanks for help,