From 500a62e6dd455e2280a403cc2bb82b6119ce663b Mon Sep 17 00:00:00 2001 From: mob-sakai Date: Fri, 13 Jul 2018 14:42:37 +0900 Subject: [PATCH] Update readme --- README.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 1c0b706..7d8c10a 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Compares this "Baking mesh" approach with the conventional approach: |Approach|Good|Bad|Screenshot| |-|-|-|-| -|Baking mesh
**\(UIParticle\)**|Rendered as is.
Maskable.
Sortable.
Less objects.|**Requires Unity 2018.2+.**
Requires UI shaders.|| +|Baking mesh
**\(UIParticle\)**|Rendered as is.
Maskable.
Sortable.
Less objects.|**Requires Unity 2018.2+.**
Requires UI shaders to use Mask.|| |Do nothing|Rendered as is.|**Looks like a glitch.**
Not maskable.
Not sortable.|| |Convert particle to UIVertex
[\(UIParticleSystem\)](https://forum.unity.com/threads/free-script-particle-systems-in-ui-screen-space-overlay.406862/)|Maskable.
Sortable.
Less objects.|**Adjustment is difficult.**
Requires UI shaders.
Difficult to adjust scale.
Force hierarchy scalling.
Simulation results are incorrect.
Trail, rotation of transform, time scaling are not supported.|| |Use Canvas to sort|Rendered as is.
Sortable.|**You must to manage sorting orders.**
Not maskable.
More batches.|| @@ -55,15 +55,17 @@ Compares this "Baking mesh" approach with the conventional approach: 1. Download ParticleEffectForUGUI.unitypackage from [Releases](https://github.com/mob-sakai/ParticleEffectForUGUI/releases). 1. Import the package into your Unity project. Select `Import Package > Custom Package` from the `Assets` menu. 1. Add particle system to canvas. -1. If you want to mask particles, set the "UI/UIAdditive" shader to material. -1. Add `UIParticle` component to particle system from `Add Component` in inspector. +1. (Option) If you want to mask particles, set a UI shader such as "UI/UIAdditive" to material for ParticleSystem. +![](https://user-images.githubusercontent.com/12690315/42674022-134e3a40-86a9-11e8-8f44-a110d2f14185.gif) +1. Add `UIParticle` component to particle system from `Add Component` in inspector. ![](https://user-images.githubusercontent.com/12690315/41772125-5aca69c8-7652-11e8-8442-21f6015069a1.png) +1. That's all. There are no properties you must set in the inspector! 1. Enjoy! ##### Requirement -* Unity 2018.2+ (Tested in Unity 2018.2b9) +* Unity 2018.2+ (Tested in Unity 2018.2.0f2) * No other SDK are required @@ -72,14 +74,6 @@ Compares this "Baking mesh" approach with the conventional approach:



## Development Note -#### BakeMesh API has a issue! - -See [this issue](https://issuetracker.unity3d.com/issues/bakemesh-slash-baketrailsmesh-crashes-if-update-jobs-are-running). - -`UIParticle` avoids the issue, but the rendering result lags one frame. - -Please vote the issue to improve `UIParticle`! -