- Home /
Render particles to forground with script
Hey guys!
im working on a simple 2d game and are trying to implement particles, my problem is that all my rendering is done via OnGUI and im doing all my rendering in code and not via the Hierarchy.
My problem is that im trying to get the particles to work, but they keep insisting on rendering behind my GUI, you can see how this is a problem :p
Is there any solution to this? ive been looking at different guides all day without result.
What ive tried:
Ive added particles to my hierarchy and through my script added the ParticleSystem. I can play the particles but i cant decide where to render them (its done in the inspector though). Ive tried fooling around with the transformer in the Particlesystem Inspector but without result.
Anyone who has some experience in this?

Your answer