Hello,
Im quite newbie with Unity and I dont really know if my way of stroing data is reasonable one. For now I have game object with attached script. In that script I got two classes items and abilities. For each class Im making object array and Im feeling values with initialization lists. In the end I got two class object arrays. Is it okey or it is naive?
This is going to sound really unhelpful, but the answer to your question is “It depends on your program”. What kind of data do you have? What do you need to do with it? How often do you need to access it? Those are the things you need to think about when deciding how to store your data.