|
I have this script attached to an object. It destroys it a second or so after it's created, and I want it to create a particle emitter once it does. However, the way I have it now, it just constantly instantiates the particle emitter on the object until it's destroyed. I'm also not really sure how the timer works in the first place. Here's the code:
(comments are locked)
|
that is a really smart way :) but can i ask what is Time.time ?
Apr 18 '11 at 05:55 AM
MC HALO
For some reason it didn't work. It's still constantly creating the particle emitter like usual.
Apr 18 '11 at 06:49 AM
Irsan
Oh sorry, I forgot an important line of code, fixed now
Apr 18 '11 at 03:28 PM
DaveA
Well, now there's pause before it constantly explodes. It should only explode once.
Apr 19 '11 at 12:42 AM
Irsan
(comments are locked)
|
