World object in front of GUI object

Hi! I want to spawn a Particle System in front of a GUI Texture. Is this possible somehow? Because until now the particle system is not visible in the area where the GUI Texture is. I want the particle system to spawn “in Front” of the GUI item.

GUI elements are drawn using a different transform matrix so that they are always in screen space, not world space. They are also drawn after the scene if I’m not mistaken. I don’t think what you are trying to do is possible unless you can add a particle system to the GUI, which I don’t know how to do.

If you’re talking about GUITexture objects, then yes, though you need two cameras. (There are questions/answers which explain this; do a search.) If you’re talking about OnGUI code, then no.

Try looking into Unity - Scripting API: Camera.ScreenToWorldPoint