|
Hi All Unities, How can I destroy objects and instantiates new in Array? Please help!
(comments are locked)
|
|
Not quite sure what you are asking, but if it's 'How can I destroy these object I instantiate like this?' then you would assign the return of 'Instantiate' to some variable (probably another array). Then destroying the array, or destroying elements in the array, would destroy those objects.
(comments are locked)
|
|
Hello unity4dNoob, Can you use Speech[0]'s object again? If you use Speech[0]'s object again You should appoint Speech[0]'s object to an interim value. Else you are requests access to Speech[0]'s object again. You can not access to deleted objects. If you not use Speech[0]'s object. You can destroy easly with this code
Regards Grcan Thanks again I got this fixed.
Feb 25 '11 at 08:21 AM
BSVALVE
(comments are locked)
|

can it be assumed you've assigned your game objects to the array, or is that whats giving you trouble?
err, Just can't figure out in a moment or 2 lol...