Hello. I hope I got this topic in the right section. I have a question about Unity3D.
I've made this scenery that has several prefabs (stars) generated automatically that basically represent a solar system in the galactic map. My noob question is, how can I associate to each of these objects a random number of planets that show up in the UI when I click them. I was thinking about using text files with the names of the systems/planets, but from this on I am stuck. Should I use a database where the game will store planets/ships/other objects and update them as the game progresses? What would be the best approach for this problem? Any help would be appreciated.
The reason I'm asking is because the RTS/4X Unity tutorials aren't really that many and don't cover some of the more advanced stuff, so I was hoping I'd get an idea here. I've attached an image of what I'm hoping to achieve.
So I have some stars displayed, and now I need each of them to contain several planets and other things, like fleets, structures etc. My problem is, I don't have many ideas how to do this, since I'm new to game development and programming in C#. Again, any idea would be helpful.
[attachment=31147:Planets.png]
Thanks in advance!