whatisgithub

What is particleeffectforugui?

mob-sakai/particleeffectforugui — explained in plain English

Analysis updated 2026-06-26

5,728C#Audience · vibe coderComplexity · 2/5Setup · easy

In one sentence

Unity package that renders particle effects (confetti, sparks, glows) directly inside uGUI canvases without extra cameras or RenderTextures. Particles respect UI stacking order, masking, and screen scaling out of the box.

Mindmap

mindmap
  root((ParticleEffect for uGUI))
    Core Components
      UIParticle wrapper
      UIParticleAttractor
      ParticleSystem prefabs
    Rendering Support
      Built-in renderer
      Universal Render Pipeline
      HD Render Pipeline
    UI Integration
      Stacking order
      Mask support
      RectMask2D support
    Setup
      Package Manager
      OpenUPM install
      Unity 2018.3 plus
    Limitations
      Custom shaders needed
      No built-in shaders
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add confetti or spark effects to UI buttons and menus without setting up extra cameras

USE CASE 2

Create coin-flying-to-wallet or star-collecting animations using UIParticleAttractor

USE CASE 3

Show particle effects inside scroll views or masked panels that clip correctly

USE CASE 4

Build animated HUDs and score displays with particles that stay correctly sized across screen resolutions

What is it built with?

C#UnityuGUIURPHDRPOpenUPM

How does it compare?

mob-sakai/particleeffectforuguichillicream/graphql-platformdorssel/usbipd-win
Stars5,7285,7025,700
LanguageC#C#C#
Setup difficultyeasymoderatemoderate
Complexity2/53/52/5
Audiencevibe coderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Install via Unity Package Manager using OpenUPM or the repo URL. Requires Unity 2018.3 or later. Custom shaders need a small tweak to work with Mask components, built-in Unity shaders are not supported.

License not mentioned in the explanation.

So what is it?

This is a Unity package that lets you display particle effects directly inside a Unity UI (uGUI) canvas. By default, Unity's particle system and its UI system are separate rendering worlds, which means getting confetti, sparks, or glowing effects to sit correctly inside a menu, HUD, or button takes a lot of workarounds. This package solves that by rendering particles through the same path Unity uses for all other UI elements. The practical result is that you do not need to set up an extra Camera, RenderTexture, or Canvas just to show a particle effect in your UI. Particles rendered this way respect the stacking order of your UI hierarchy, so they appear in front of or behind other elements just by changing their position in the scene tree. They also respond to Mask and RectMask2D components, which means they clip correctly when placed inside scroll views or masked panels. The package includes a component called UIParticle, which wraps your existing ParticleSystem prefabs and makes them UI-aware. There is also a UIParticleAttractor component that can pull particles toward a target point, useful for effects like coins flying into a wallet or stars collecting into a score display. Material properties can be animated through Unity's standard Animation system, and the package supports multiple materials per particle system. On the technical side, the package works with Unity's Universal Render Pipeline and High Definition Render Pipeline, in addition to the built-in renderer. It handles adaptive scaling so particles stay correctly sized when the screen resolution changes. The README notes some shader limitations: built-in Unity shaders are not supported, and custom shaders need a small modification to work with Mask components. Installation is through Unity's Package Manager, either via OpenUPM or by pasting the repository URL directly. The package requires Unity 2018.3 or later.

Copy-paste prompts

Prompt 1
I'm using the ParticleEffectForUGUI package in Unity. How do I add a UIParticle component to an existing ParticleSystem prefab and make it appear inside my Canvas?
Prompt 2
Using ParticleEffectForUGUI, how do I set up UIParticleAttractor so coins fly from the game world toward a wallet icon in my HUD?
Prompt 3
My particles using ParticleEffectForUGUI are not clipping inside a Scroll View. How do I configure Mask or RectMask2D so they respect the panel boundary?
Prompt 4
I'm using a custom shader with ParticleEffectForUGUI and Mask components aren't working. What modification do I need to make to my shader to fix this?
Prompt 5
How do I install ParticleEffectForUGUI via Unity Package Manager using OpenUPM, and what is the minimum Unity version required?

Frequently asked questions

What is particleeffectforugui?

Unity package that renders particle effects (confetti, sparks, glows) directly inside uGUI canvases without extra cameras or RenderTextures. Particles respect UI stacking order, masking, and screen scaling out of the box.

What language is particleeffectforugui written in?

Mainly C#. The stack also includes C#, Unity, uGUI.

What license does particleeffectforugui use?

License not mentioned in the explanation.

How hard is particleeffectforugui to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is particleeffectforugui for?

Mainly vibe coder.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.