Answer by watermy
You can use POO instead. Use a struct to store planet information and then create a array/list of Planet for a SolarSystem and then use a list of solar system. So you easily extends your data. public...
View ArticleAnswer by Baste
You can simply use two arrays to store the data: Vector3[] planetLocations = new Vector3[50]; Vector3[] planetSizes = new Vector3[50] //Set planet 17 to the position (10, 50, 30), and the size (15, 12,...
View ArticleAnswer by watermy
You can use POO instead. Use a struct to store planet information and then create a array/list of Planet for a SolarSystem and then use a list of solar system. So you easily extends your data. public...
View ArticleAnswer by Baste
You can simply use two arrays to store the data: Vector3[] planetLocations = new Vector3[50]; Vector3[] planetSizes = new Vector3[50] //Set planet 17 to the position (10, 50, 30), and the size (15, 12,...
View Article