Jump to content

What's The Best Way To Get Rid Of Particles...


Guest Red Ocktober
 Share

Recommended Posts

Guest Red Ocktober

i'm writing up a portal GameObject, and so far it's working... allowing me to transition from level to level (scene to scene)...

 

but i can seem to get rid of the particles from the previous scene...

 

i think i'm shutting down the emitter.. but the flames still presist in the new level...

 

i've tried ..world.emitters.clear... looping through and clearing em... setting the emitter radius to zero...

 

any suggestions appreciated... has anyone done this successfully before...

 

 

--Mike

Link to comment
Share on other sites

Guest Red Ocktober

thx... tried those... causes the new level to crash...

 

looking at em again...

 

i think i forgot to stop the event hooks during level change...

 

 

--Mike

Link to comment
Share on other sites

Guest Red Ocktober

ahhhh...

 

lets give that a go...

 

thx

 

 

[edit]

 

no luck... funny though... my gameObject emitters dissapear, but regular emiiters don't...

 

the solution is simple... but i think i'm gonna get bitten by this further down the road :o

 

thx again for the assist...

 

--Mike

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...