|
Hi, I have a chest that opens and closes with OnTrigger , I would put a particle emitter in the chest, and just turn it on when the chest is opened. Here is the script I'm using, I would like someone help him. Thank you.
(comments are locked)
|
|
Thanks, did not help much because costaria to attach the lines of your tip in my script and I do not know exactly how to do .
Mar 09 '12 at 06:03 PM
richard.falcos
If the particle emitter is attached to the same game object than that script, add particleEmitter.emit = true / false to the OnTrigger functions.
Mar 09 '12 at 07:14 PM
Berenger
(comments are locked)
|

Ok, what have you tried, yet?