Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to show Particle System in Canvas

Discussion in 'UGUI & TextMesh Pro' started by The_Fantaz, Apr 17, 2021.

  1. The_Fantaz

    The_Fantaz

    Joined:
    Aug 8, 2020
    Posts:
    16
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,591
  3. Deankovitch

    Deankovitch

    Joined:
    Sep 28, 2012
    Posts:
    31
    Hi there,

    I created the Canvas Particle System, an asset that can create UI particles fully compatible with Unity's UI Render Pipeline.

    Within this asset you can:

    • Use sibling index to control particles z position
    • Add particles in front, behind, or between any UI element
    • Emit particles from: point, directional, line, rect, and circular or using any recttransform in the scene
    • Works on all canvas types:
    • Works on all platforms: mobile, desktop, or console
    • Control all emitter attributes programmatically
    • Animate any emitter or particle attributes
    • Add multi-texture particles
    • Particles with animates sprites
    • Emit particles from images
    • Use UI masks
    • Emit from local or world spaces
    • Render Shuriken particle on UI
    • And more
    https://assetstore.unity.com/packages/tools/particles-effects/canvas-particle-system-64134
     
    LilGames likes this.
  4. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    565
    Any way to get support from you? Do you have a Unity Forum thread for this Asset?

    Your Shuriken demo scene has errors in it and the documentation doesn't explain the difference between "Shuriken" and the other method. Also, some of your samples don't behave the way they do in your YouTube videos.
     
    Deankovitch likes this.
  5. pixaware_pwedrowski

    pixaware_pwedrowski

    Joined:
    Oct 25, 2018
    Posts:
    116
    I have used and can recommend https://github.com/mob-sakai/ParticleEffectForUGUI (as mentioned above). As far as I remember for a simple usage all you need to do is add a UI Particle component to an object with particle system that you want to show
     
    Whatever560, realwar_fx and LilGames like this.
  6. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    565
    Oooo! Nice!

    (Checking out the WebGL demo, seems the effect moves position if you go fullscreen? :( )
     
    Last edited: May 21, 2022
  7. Deankovitch

    Deankovitch

    Joined:
    Sep 28, 2012
    Posts:
    31

    Hi there, you can send me an email at deankovitch@gmail.com
    In any case, I will take a look into those issues and let you know ASAP about the fixes.
    Could you answer some questions to help identify what might be happening please:
    Which Unity version are you using?
    Are you simulating the particles inside the editor mode or in play mode?
    Which version of Canvas Particle are you using?
     
    Last edited: May 21, 2022
    LilGames likes this.
  8. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    565
    Hello Dean. I'm using Unity 2021.3 LTS. I imported the package, then double-click the Shuriken Scene and right away there's the error in console. Under Rendering, the material is missing. Possibly other missing references too.

    As for the magic potion examples, it seems like settings for particle life are set "wrong", (set too long and dont play the same in editor vs Play mode)
     
    Last edited: May 30, 2022
  9. thekrocker

    thekrocker

    Joined:
    Feb 4, 2021
    Posts:
    5
    Hey Deankovitch. Mine is rendering the particles as black in game - view
     
  10. FardinHaque

    FardinHaque

    Joined:
    Apr 13, 2015
    Posts:
    7
    Use UI/Additive shader for your ui particles.
     
  11. novalyst

    novalyst

    Joined:
    Sep 26, 2020
    Posts:
    6