1- # <img alt =" UIParticleIcon " src =" https://github.com/mob-sakai/ParticleEffectForUGUI/assets/12690315/d76e105e-a840-4f61-a1f6-8cf311c0812d " width =" 26 " /> Particle Effect For UGUI ( UI Particle) <!-- omit in toc -->
1+ # <img alt =" UIParticleIcon " src =" https://github.com/mob-sakai/ParticleEffectForUGUI/assets/12690315/d76e105e-a840-4f61-a1f6-8cf311c0812d " width =" 26 " /> UI Particle v5 <!-- omit in toc -->
22
33[ ![ ] ( https://img.shields.io/npm/v/com.coffee.ui-particle?label=openupm®istry_uri=https://package.openupm.com )] ( https://openupm.com/packages/com.coffee.ui-particle/ )
44[ ![ ] ( https://img.shields.io/github/v/release/mob-sakai/ParticleEffectForUGUI )] ( https://github.com/mob-sakai/ParticleEffectForUGUI/releases )
55[ ![ ] ( https://img.shields.io/github/license/mob-sakai/ParticleEffectForUGUI.svg )] ( https://github.com/mob-sakai/ParticleEffectForUGUI/blob/main/LICENSE.md )
6- ![ ] ( https://img.shields.io/badge/Unity-2018.2 +-57b9d3.svg?style=flat&logo=unity )
6+ ![ ] ( https://img.shields.io/badge/Unity-2019.3 +-57b9d3.svg?style=flat&logo=unity )
77![ ] ( https://img.shields.io/badge/uGUI_2.0_Ready-57b9d3.svg?style=flat )
88![ ] ( https://img.shields.io/badge/UPR%2FHDPR_Ready-57b9d3.svg?style=flat )
99![ ] ( https://github.com/mob-sakai/ParticleEffectForUGUI/actions/workflows/test.yml/badge.svg?branch=develop )
1010[ ![ PRs Welcome] ( https://img.shields.io/badge/PRs-welcome-orange.svg )] ( http://makeapullrequest.com )
1111[ ![ ] ( https://img.shields.io/github/watchers/mob-sakai/ParticleEffectForUGUI.svg?style=social&label=Watch )] ( https://github.com/mob-sakai/ParticleEffectForUGUI/subscription )
1212[ ![ ] ( https://img.shields.io/twitter/follow/mob_sakai.svg?label=Follow&style=social )] ( https://twitter.com/intent/follow?screen_name=mob_sakai )
1313
14- << [ 📝 Description] ( #-description- ) | [ 📌 Key Features] ( #-key-features ) | [ 🎮 Demo] ( #-demo ) | [ ⚙ Installation] ( #-installation ) | [ 🚀 Usage] ( #-usage ) | [ 🛠 Development Note] ( #-development-note ) | [ 🤝 Contributing] ( #-contributing ) >>
14+ << [ 📝 Description] ( #-description- ) | [ 📌 Key Features] ( #-key-features ) | [ 🎮 Demo] ( #-demo ) | [ ⚙ Installation] ( #-installation ) | [ 🔄 Upgrading to 5.x ] ( #-upgrading-from-3x4x-to-5x ) | [ 🚀 Usage] ( #-usage ) | [ 🛠 Development Note] ( #-development-note ) | [ 🤝 Contributing] ( #-contributing ) >>
1515
1616## 📝 Description <!-- omit in toc -->
1717
@@ -26,7 +26,9 @@ You can render, mask, and sort your `ParticleSystems` for UI without the need fo
2626 - [ Install via OpenUPM] ( #install-via-openupm )
2727 - [ Install via UPM (with Package Manager UI)] ( #install-via-upm-with-package-manager-ui )
2828 - [ Install via UPM (Manually)] ( #install-via-upm-manually )
29- - [ Install as Embedded Package] ( #install-as-embedded-package )
29+ - [ Install as Embedded Package] ( #install-as-embedded-package )
30+ - [ 🔄 Upgrading from v3/v4 to v5] ( #-upgrading-from-v3v4-to-v5 )
31+ - [ Breaking Changes] ( #breaking-changes )
3032- [ 🚀 Usage] ( #-usage )
3133 - [ Component: UIParticle] ( #component-uiparticle )
3234 - [ Basic Usage] ( #basic-usage )
@@ -104,7 +106,7 @@ You can render, mask, and sort your `ParticleSystems` for UI without the need fo
104106
105107## ⚙ Installation
106108
107- _ This package requires ** Unity 2018 .3 or later** ._
109+ _ This package requires ** Unity 2019 .3 or later** ._
108110
109111#### Install via OpenUPM
110112
@@ -116,39 +118,58 @@ _This package requires **Unity 2018.3 or later**._
116118 ```
117119- To update the package, use Package Manager UI (` Window > Package Manager ` ) or run the following command with ` @{version} ` :
118120 ```
119- openupm add com.coffee.ui-particle@4.9 .0
121+ openupm add com.coffee.ui-particle@5.0 .0
120122 ```
121123
122124#### Install via UPM (with Package Manager UI)
123125
124126- Click ` Window > Package Manager ` to open Package Manager UI.
125- - Click ` + > Add package from git URL... ` and input the repository URL: ` https://github.com/mob-sakai/ParticleEffectForUGUI.git `
127+ - Click ` + > Add package from git URL... ` and input the repository URL: ` https://github.com/mob-sakai/ParticleEffectForUGUI.git?path=Packages/src `
126128 ![ ] ( https://github.com/user-attachments/assets/f88f47ad-c606-44bd-9e86-ee3f72eac548 )
127129- To update the package, change suffix ` #{version} ` to the target version.
128- - e.g. ` https://github.com/mob-sakai/ParticleEffectForUGUI.git#4.9 .0 `
130+ - e.g. ` https://github.com/mob-sakai/ParticleEffectForUGUI.git?path=Packages/src#5.0 .0 `
129131
130132#### Install via UPM (Manually)
131133
132134- Open the ` Packages/manifest.json ` file in your project. Then add this package somewhere in the ` dependencies ` block:
133135 ``` json
134136 {
135137 "dependencies" : {
136- "com.coffee.ui-particle" : " https://github.com/mob-sakai/ParticleEffectForUGUI.git" ,
138+ "com.coffee.ui-particle" : " https://github.com/mob-sakai/ParticleEffectForUGUI.git?path=Packages/src " ,
137139 ...
138140 }
139141 }
140142 ```
141143
142144- To update the package, change suffix ` #{version} ` to the target version.
143- - e.g. ` "com.coffee.ui-particle": "https://github.com/mob-sakai/ParticleEffectForUGUI.git#4.9 .0", `
145+ - e.g. ` "com.coffee.ui-particle": "https://github.com/mob-sakai/ParticleEffectForUGUI.git?path=Packages/src#5.0 .0", `
144146
145- #### Install as Embedded Package
147+ ### Install as Embedded Package
146148
147- 1 . Download a source code zip file from [ Releases] ( https://github.com/mob-sakai/ParticleEffectForUGUI.git/releases ) and extract it.
148- 2 . Place it in your project's ` Packages ` directory.
149- ![ ] ( https://github.com/mob-sakai/mob-sakai/assets/12690315/0b7484b4-5fca-43b0-a9ef-e5dbd99bcdb4 )
150- - If you want to fix bugs or add features, install it as an embedded package.
151- - To update the package, you need to re-download it and replace the contents.
149+ 1 . Download the ` Source code (zip) ` file from [ Releases] ( https://github.com/mob-sakai/SoftMaskForUGUI/releases ) and
150+ extract it.
151+ 2 . Move the ` <extracted_dir>/Packages/src ` directory into your project's ` Packages ` directory.
152+ ![ ] ( https://github.com/user-attachments/assets/187cbcbe-5922-4ed5-acec-cf19aa17d208 )
153+ - You can rename the ` src ` directory if needed.
154+ - If you intend to fix bugs or add features, installing it as an embedded package is recommended.
155+ - To update the package, re-download it and replace the existing contents.
156+
157+ <br ><br >
158+
159+ ## 🔄 Upgrading from v3/v4 to v5
160+
161+ ### Breaking Changes
162+
163+ - The default value of ` UIParticle.scale ` has been changed from ` 10 ` to ` 1 ` .
164+ - ` UIParticle ` no longer inherits from ` MaskableGraphic ` .
165+ - If you are installing via git URL, add ` ?path=Packages/src ` .
166+ ``` json
167+ // v3/v4
168+ "com.coffee.ui-particle" : " https://github.com/mob-sakai/ParticleEffectForUGUI.git" ,
169+
170+ // v5
171+ "com.coffee.ui-particle" : " https://github.com/mob-sakai/ParticleEffectForUGUI.git?path=Packages/src" ,
172+ ```
152173
153174<br ><br >
154175
0 commit comments