- Home /
Particles over the logo
I am not able to get the particle of smoke over the logo of Menu, the particle goes behind behind where it should go over .. anyone know how to change? Sorry for bad english...
What are you using for GUI painting? If they are 3D objects, check depth (transform's Z in most cases) to see that particles render above your logo. If they are rendered by different cameras check camera depth.
I don't quite understand, but I think the paiting is GUI are the buttons I created, right? If it is, I used 2D ... The logo did a 'Public Texture logoGame'. :s The depth of the camera is -1..
So you're using Unity's bundled GUI system? (i.e. GUI, GUILayout classes). AFAI$$anonymous$$ OnGUI/GUI renders on top of everything. You can use other solutions to draw your GUI (third parties like NGUI or the new 2D related stuff)
Answer by nicloay · Mar 17, 2014 at 04:09 PM
First of all try to switch to 3d view and check that all of your object within camera box. Then if you try to mix 2d sprite object and particle then you can adjust sortingOrder number
here is a script which will help you to do that, because of this feature is unavailable in editor right now.
I just wanted the smoke particle passed over soon, all this code is needed?
And I don't know what is the sortingOrder number... I'm noob, sorry s:
don't worries =), many people faced the same problem that particle system rendered not at expected position, just copy that script to the Assets/Editor folder with name SetRendererLayerWizard.cs after that go to menu and open GameObject/Set Renderer SortingLayer" then choose your object and adjust order number.
just create Editor folder somewhere in your project in inspector and put the script there. everything what you see in Project tab of unity are within Assets folder and PROJECT_HO$$anonymous$$E folder is parent for Asset folder. so final path might be PROJECT_HO$$anonymous$$E/Assets/Editor/SetRendererLayerWizard.cs or PROJECT_HO$$anonymous$$E/Assets/any/your/folders/here/Editor/SetRendererLayerWizard.cs
When I go to the Standard Assents and create a file 'SetRendererLayerWizard.cs' gives me some errors ... there is no other way? Or rather, not to disturb you more, some video that I be helpful? Greetings and thanks for your patience ...
Your answer
Follow this Question
Related Questions
Menu scene not loading correctly, doesn't show particles or animations and buttons behave strangely. 1 Answer
How I get the particle over the logo and buttons? 0 Answers
How to Slowly Fade Particle System via Script 2 Answers
Particles not showing up using render texture 3 Answers
Change prefab color when shuriken particle touches it 1 Answer