- Home /
Particle system is hided by background in 2D view
I add a particle system - smoke to my game, I can see it definitely in 3D view and it in front of the background image;
But, when I alter to 2D view, it disappear and hided by background image like
So, any suggestion for this case? thanks in advance
Answer by matt101 · Aug 01, 2015 at 08:26 PM
If you open up the particle system, go to renderer, you can change the order in the layer:
Make this higher than your spriterenderer/canvas layer number :)
Searched through the web for hours.. but the only which worked was this simple image.. thanks
Answer by jakirhossain · Jan 28, 2020 at 10:36 PM
In my case, Order in Layer did not worked. Try to set Z value of your Particles System same as your Main Camera Z value. In my case, it was -10. After set the Z value like this, its worked for me.
Answer by Lord Bommelmann · Aug 02, 2015 at 02:28 AM
I suppose that error comes from the sorting layer. The particle system uses the default sorting layer.
Go to the last property of your particle system which is named "Renderer" and change the sorting layer to a higher layer or increase the "Order in Layer". "Order in Layer" defines the actual rendering order of the sorting layer. Higher numbers hide lower ones.
You can also define your own sorting layers to organize your rendering more. Go to "Edit" -> "Project Settings" -> "Tags and Layers".
Hope it helps you.
Your answer
Follow this Question
Related Questions
Unity 2D Particle System Interaction. 0 Answers
Particle System Working in game view but not working on Android build. 1 Answer
Adjusting OnTriggerEnter2D() for OnParticleTrigger() 0 Answers
Butcher-like blood physics and rendering 0 Answers
How do I know that an object is not coliding without using OnCollisionExit? 1 Answer