You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-16 13:10:07 +00:00
Compare commits
4 Commits
4.6.0-prev
...
4.6.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d1b6a81ee | ||
|
|
e32077fb0d | ||
|
|
293dc43db7 | ||
|
|
2b5166dcd9 |
24
CHANGELOG.md
24
CHANGELOG.md
@@ -1,3 +1,27 @@
|
|||||||
|
## [4.6.1](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.6.0...v4.6.1) (2024-01-26)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* unintended scaling occurs when `AutoScalingMode=UIParticle` and `ScalingMode=Local` ([1627de1](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/1627de10eb1e742a015603ae9939071665a5bd89)), closes [#292](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/292)
|
||||||
|
|
||||||
|
# [4.6.0](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.5.2...v4.6.0) (2024-01-26)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* fix abnormal mesh bounds error ([772bf50](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/772bf50d168982bd401c30e58172e0a60fbafe46)), closes [#213](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/213)
|
||||||
|
* fix warning ([93d3919](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/93d3919b6fb6ac186b3e99f8baaef9a044f583f2))
|
||||||
|
* fix warning ([8a78ec1](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/8a78ec13ad2aad9138a22b67c332871e064a38cc))
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* "[generated]" GameObjects on the hierarchy is disturbing ([7c42421](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/7c4242150b591daf64390588afa27efa27368af3)), closes [#288](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/288)
|
||||||
|
* add explicit dependencies ([9a0187a](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/9a0187a72a35d378ff7be965bfcb7475f423fe0f))
|
||||||
|
* add icon ([0c1022c](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/0c1022c6224394713f62b41e5e4ef0c289610ae1))
|
||||||
|
* remove samples ([f53a7fa](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/f53a7faed3ee73ac22d745a778284e818624b510))
|
||||||
|
|
||||||
# [4.6.0-preview.1](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.5.2...v4.6.0-preview.1) (2024-01-24)
|
# [4.6.0-preview.1](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.5.2...v4.6.0-preview.1) (2024-01-24)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
56
README.md
56
README.md
@@ -218,46 +218,46 @@ uiParticle.Stop();
|
|||||||
|
|
||||||
- **Baking mesh approach (=UIParticle)**
|
- **Baking mesh approach (=UIParticle)**
|
||||||

|

|
||||||
- :+1: Rendered as is.
|
- ✅ Rendered as is.
|
||||||
- :+1: Maskable.
|
- ✅ Maskable.
|
||||||
- :+1: Sortable.
|
- ✅ Sortable.
|
||||||
- :+1: Less objects.
|
- ✅ Less objects.
|
||||||
|
|
||||||
- **Do nothing (=Plain ParticleSystem)**
|
- **Do nothing (=Plain ParticleSystem)**
|
||||||

|

|
||||||
- :+1: Rendered as is.
|
- ✅ Rendered as is.
|
||||||
- :-1: Looks like a glitch.
|
- ❌ Looks like a glitch.
|
||||||
- :-1: Not maskable.
|
- ❌ Not maskable.
|
||||||
- :-1: Not sortable.
|
- ❌ Not sortable.
|
||||||
|
|
||||||
- **Convert particle to UIVertex (=[UIParticleSystem][UIParticleSystem])**
|
- **Convert particle to UIVertex (=[UIParticleSystem][UIParticleSystem])**
|
||||||

|

|
||||||
- :+1: Maskable.
|
- ✅ Maskable.
|
||||||
- :+1: Sortable.
|
- ✅ Sortable.
|
||||||
- :-1: Adjustment is difficult.
|
- ❌ Adjustment is difficult.
|
||||||
- :-1: Requires UI shaders.
|
- ❌ Requires UI shaders.
|
||||||
- :-1: Difficult to adjust scale.
|
- ❌ Difficult to adjust scale.
|
||||||
- :-1: Force hierarchy scalling.
|
- ❌ Force hierarchy scalling.
|
||||||
- :-1: Simulation results are incorrect.
|
- ❌ Simulation results are incorrect.
|
||||||
- :-1: Trail, rotation of transform, time scaling are not supported.
|
- ❌ Trail, rotation of transform, time scaling are not supported.
|
||||||
- :-1: Generate heavy GC every frame.
|
- ❌ Generate heavy GC every frame.
|
||||||
|
|
||||||
- **Use Canvas to sort (Sorting By Canvas )**
|
- **Use Canvas to sort (Sorting By Canvas )**
|
||||||

|

|
||||||
- :+1: Rendered as is.
|
- ✅ Rendered as is.
|
||||||
- :+1: Sortable.
|
- ✅ Sortable.
|
||||||
- :-1: You must to manage sorting orders.
|
- ❌ You must to manage sorting orders.
|
||||||
- :-1: Not maskable.
|
- ❌ Not maskable.
|
||||||
- :-1: More batches.
|
- ❌ More batches.
|
||||||
- :-1: Requires Canvas.
|
- ❌ Requires Canvas.
|
||||||
|
|
||||||
- **Use RenderTexture**
|
- **Use RenderTexture**
|
||||||

|

|
||||||
- :+1: Maskable.
|
- ✅ Maskable.
|
||||||
- :+1: Sortable.
|
- ✅ Sortable.
|
||||||
- :-1: Requires Camera and RenderTexture.
|
- ❌ Requires Camera and RenderTexture.
|
||||||
- :-1: Difficult to adjust position and size.
|
- ❌ Difficult to adjust position and size.
|
||||||
- :-1: Quality depends on the RenderTexture's setting.
|
- ❌ Quality depends on the RenderTexture's setting.
|
||||||
|
|
||||||
[UIParticleSystem]: https://forum.unity.com/threads/free-script-particle-systems-in-ui-screen-space-overlay.406862/
|
[UIParticleSystem]: https://forum.unity.com/threads/free-script-particle-systems-in-ui-screen-space-overlay.406862/
|
||||||
|
|
||||||
|
|||||||
@@ -515,6 +515,13 @@ namespace Coffee.UIExtensions
|
|||||||
{
|
{
|
||||||
Profiler.BeginSample("[UIParticleRenderer] GetWorldScale");
|
Profiler.BeginSample("[UIParticleRenderer] GetWorldScale");
|
||||||
var scale = _parent.scale3DForCalc.GetScaled(_parent.parentScale);
|
var scale = _parent.scale3DForCalc.GetScaled(_parent.parentScale);
|
||||||
|
|
||||||
|
if (_parent.autoScalingMode == UIParticle.AutoScalingMode.UIParticle
|
||||||
|
&& _particleSystem.main.scalingMode == ParticleSystemScalingMode.Local)
|
||||||
|
{
|
||||||
|
scale = scale.GetScaled(_parent.canvas.transform.localScale);
|
||||||
|
}
|
||||||
|
|
||||||
Profiler.EndSample();
|
Profiler.EndSample();
|
||||||
return scale;
|
return scale;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "com.coffee.ui-particle",
|
"name": "com.coffee.ui-particle",
|
||||||
"displayName": "UI Particle",
|
"displayName": "UI Particle",
|
||||||
"description": "This package provides a component to render particle effects for uGUI.\nThe particle rendering is maskable and sortable, without the need for an extra Camera, RenderTexture, or Canvas.",
|
"description": "This package provides a component to render particle effects for uGUI.\nThe particle rendering is maskable and sortable, without the need for an extra Camera, RenderTexture, or Canvas.",
|
||||||
"version": "4.6.0-preview.1",
|
"version": "4.6.1",
|
||||||
"unity": "2018.2",
|
"unity": "2018.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user