Quantcast
Channel: Answers for "Can I create an array of two Vector3 arrays in C#?"
Browsing latest articles
Browse All 4 View Live

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 Article


Answer 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

Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>