Hi, i’m having trouble with the particle system. Whenever i add a new particle system it works fine in the Scene’s screen but when i hit play i can’t see it the Game’s screen. I switch to 3D mode in the Scene’s screen then found out that the particle system is always behinding the background(which has the lowest order in layer value). I’ve tried many ways to solve it but it’s still not working. Can anyone give me some workarounds, i’m kinda confused now.
1 Answer
1It sounds like you have your UI in “Screen Space - Overlay” mode. This will make your UI draw on top of everything, including your particles. If you want world objects to be drawn on top of your UI, you’ll have to use world space.
Screen Space - Camera may work, if your particles are a child of the camera and placed closer to the camera than the UI, in terms of Z-depth
i just found a weird thing that if i just use the default particle system it works fine in both scene and game's screen but when i add material to it then it automatically behinds everything.
– midsideslimshadyI've been searching for 2 days for a solution to this. Thank you for finally fixing my issue!
– Element_Apps
It would at least help some with seeing how you have things set up. Your animation component should have a list of all the animations for the gameobject you are working on. The animator component lets you use the state machine (which is why you want set float I take it)
– Orami