Quantcast
Channel: Answers for "Storing and Removing GameObjects - List or Dictionary?"
Browsing latest articles
Browse All 5 View Live

Answer by Althaen

This may help you. If not them I'm not much use. :) http://docs.unity3d.com/Documentation/ScriptReference/Object.Destroy.html

View Article


Answer by phodges

You've got a fixed set of possible element types, so how about? - Start by preallocating all of the elements you will ever need and storing them in an array: access the type you need using an offset...

View Article

Browsing latest articles
Browse All 5 View Live


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