I
I
Ivan Ivanov2020-02-26 18:24:43
Unity
Ivan Ivanov, 2020-02-26 18:24:43

How to use particles in canvas in unity3d?

For some reason, there is no possibility in the unit to add a regular particle system and make it just work like in a 3d scene. I used the recommended UIParticleSystem script everywhere and everything worked in the editor, but there are no particles when launched on an android smartphone. Who and how was the easiest way to do it to work on androyd?
ps Is it possible to do this without problems only with the help of paid plugins from the asset store?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
ohh_long_johnson, 2020-02-28
@ohh_long_johnson

Hi, in order for the particle system to display normally, you need to set the rendering mode of the main canvas to screen space - camera (if there is an overlay, then the canvas will always be drawn on top). Next, try to adjust the rendering order of the particles in the Renderer module (that is, if you need the paricles to be drawn on top of the background, the background of the canvas with override sorting should have an order in layer less than that of the particles in the renderer). If you need another gui element to be drawn both on top of the background and on top of the particles, it will have to set another canvas with override sorting and an order in layer greater than that of the background and particles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question