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 ArticleAnswer 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 ArticleAnswer by adriandevera
**EDIT: I thought I was posting a comment, please change this to a comment instead of an answer. Sorry.** Does anyone know how to destroy game objects from a dictionary? Public Dictionary...
View ArticleAnswer by Althaen
This may help you. If not them I'm not much use. :) http://docs.unity3d.com/Documentation/ScriptReference/Object.Destroy.html
View ArticleAnswer 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