How to add a particle system to an image in my canvas ?
Hey, what exactly are you willing to do?
Do you want to emit particles using image pixels as reference for the color/position of each particle?
Or do you want just emit from the rect of a Image component?
Take a look if this plugin can help you: [Canvas Particle Emitter](http:// http://u3d.as/uAX)
If your particle is screen space camera, you can add a particle to it. There is a sorting order under renderer on the particle that will allow you to adjust if it’s displayed in front or behind the canvas layer. So if your canvas is 1, your particle should be 2 or greater. Note also that some particles are made up of several, so you may have to change all of them.
Note also that there is a UIParticleSystem in the https://bitbucket.org/ddreaper/unity-ui-extensions/wiki/Controls#Effects that may work also for you.
Main menu “Canvas” have particle system
Look at this
https://www.youtube.com/watch?v=y8bTLzxYRlw
No need for assets.
could you please show me thos UI layer sort with particle system ?
about the UIParticleSystem. is empty file !!
hmm…That ui extension is usually well maintained, but I haven’t looked at all the code there. The guy who helps maintain it is on the forums, so if something is missing, he might be interested in knowing.
Edit: https://bitbucket.org/ddreaper/unity-ui-extensions/src/bfd136bdf8f8326de0eab8cf8aafc8ff96ad4d62/Scripts/Effects/UIParticleSystem.cs?at=develop_5.3&fileviewer=file-view-default
That is the script itself for their UI system. I have not used it, so I can’t offer any insight.
As far as the other option. Your canvas must be screen space camera. Then under the particle itself, you will see the Renderer tab. It’s towards the bottom of the particle. Clicking it and it will expand. There is an option for Order in Layer. You need to set that higher than the canvas in order for it to render in front of the canvas objects.
Also note that the z position of the particle I think may still have some affect (can’t recall if I had to mess with that). But I know I was able to get the particles to work by changing that order in layer.