Commit Graph

55 Commits (4fa43eda4bc70c9c827c4fad9d5ae1327bfbc322)

Author SHA1 Message Date
mob-sakai 4fa43eda4b feat: random mesh sharing group
The mesh sharing group id will be selected randomly.
2022-06-18 10:20:12 +09:00
mob-sakai 9afeebf672 feat: mesh sharing group
Particle simulation results are shared within the same group.
A large number of the same effects can be displayed with a small load.
2022-06-18 10:20:12 +09:00
mob-sakai 01459b06b8 refactor 2022-06-18 10:20:12 +09:00
mob-sakai aa0d56f9fa feat: adaptive scaling for UI
Changing the canvas size does not affect the effect size or position.
This feature provides a constant-looking output and makes it easier to adjust effects.
BREAKING CHANGE: If you update to v4, you may be required to adjust your UIParticle.scale.
2022-06-17 21:25:35 +09:00
mob-sakai b76bf5a5ad feat: support 8+ materials
Instead of one CanvasRenderer with submeshes, render with multiple CanvasRenderers.
This feature allows the number of materials to be unlimited.
close #122, close #152, close #186
2022-06-11 16:23:36 +09:00
mob-sakai b6b2c72b19 fix: annoying warning for [ExecuteInEditMode]
Close #180
2022-02-18 04:57:27 +09:00
mob-sakai e3f42d747a fix: fix cached position for pre-warmed particles 2021-02-24 16:22:37 +09:00
mob-sakai b93e0e4701 fix: ParticleSystem creates particles in wrong position during pre-warm
Close #147
2021-02-23 13:30:46 +09:00
mob-sakai d5ce78ae5a fix: support sub emitter with 'PlayOnAwake' 2021-02-18 13:48:37 +09:00
mob-sakai 3bb5241275 fix: The maximum material count is 8 2021-02-18 13:44:47 +09:00
mob-sakai 2a1f3345ba fix: submeshes can't over 8
Close #122
2021-02-02 00:38:19 +09:00
mob-sakai c0aa89bd6f fix: _cachedPosition defaults to localPosition
Close #121
2021-02-01 23:51:35 +09:00
mob-sakai 46a7dddd11 feat: shrink rendering by material
NOTE: Performance will be improved, but in some cases the rendering is not correct.

Close #113
2020-11-20 15:17:43 +09:00
mob-sakai 2ec81da048 fix: the particles may disappear unintentionally
Close #117
2020-11-20 13:12:07 +09:00
mob-sakai fc4bd708fd refactor: refactor 2020-11-16 03:07:35 +09:00
mob-sakai 08273cb0c3 feat: compatibility with other IMaterialModifier
Close #115
2020-11-16 03:07:24 +09:00
mob-sakai 68669c7396 fix: error on build in Unity 2019.3.11-15
Close #114
2020-11-10 01:44:24 +09:00
mob-sakai af5f7e90b0 feat: maskable option to ignore masking
Close #109
2020-10-28 22:19:15 +09:00
mob-sakai f7eac0a34f fix: in rare cases, an IndexOutOfRangeException is thrown 2020-10-28 12:18:39 +09:00
mob-sakai f1338813ca feat: un-limit on the number of mesh instances 2020-10-28 03:14:15 +09:00
mob-sakai 6b397f39b8 feat: cache modified material
Close #94
2020-10-28 02:19:39 +09:00
mob-sakai d9f9244e49 fix: IgnoreCanvasScaler may be enabled unintentionally 2020-10-28 02:19:39 +09:00
semantic-release-bot 8b328154a4 3.0.0-preview.38
# [3.0.0-preview.38](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.37...v3.0.0-preview.38) (2020-10-04)

### Bug Fixes

* delete unused file in package ([2e69974](2e699749a8))
* material dirty on validate (on editor) ([fa34301](fa3430130c))

### Features

* display material properties in inspector ([313c1fc](313c1fc159)), closes [#104](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/104)
* support 3D scaling ([a508c3b](a508c3bb86)), closes [#105](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/105)
2020-10-04 14:26:53 +00:00
semantic-release-bot 4b4d70bdd1 3.0.0-preview.36
# [3.0.0-preview.36](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.35...v3.0.0-preview.36) (2020-09-28)

### Bug Fixes

* do not bake particle system to mesh when the alpha is zero ([1775713](1775713c2d)), closes [#102](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/102)
* in Unity 2018.x, sample import failed on Windows ([f5861b0](f5861b0add))
2020-09-28 12:35:41 +00:00
semantic-release-bot 94ae9d2016 3.0.0-preview.35
# [3.0.0-preview.35](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.34...v3.0.0-preview.35) (2020-09-27)

### Bug Fixes

* an error happens during loading scene in editor ([ab9d9aa](ab9d9aa7b3)), closes [#101](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/101)
2020-09-27 06:58:10 +00:00
semantic-release-bot 64787261df 3.0.0-preview.32
# [3.0.0-preview.32](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.31...v3.0.0-preview.32) (2020-09-14)

### Bug Fixes

* animatable properties not working ([5b8b0bd](5b8b0bd28b)), closes [#95](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/95)
2020-09-14 09:29:16 +00:00
semantic-release-bot 6f3f4803da 3.0.0-preview.31
# [3.0.0-preview.31](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.30...v3.0.0-preview.31) (2020-09-02)

### Bug Fixes

* combine Instances error ([878f812](878f81202a)), closes [#91](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/91)
* in rare cases, the particle size is incorrect with camera-space mode ([90593ac](90593ac021)), closes [#93](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/93)
* trails material uses sprite texture ([9e65ee7](9e65ee7345)), closes [#92](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/92)

### Features

* refresh children ParticleSystem with a gameObjects as root ([8bae1d0](8bae1d08cc))
2020-09-02 16:02:59 +00:00
semantic-release-bot b12b82c172 3.0.0-preview.30
# [3.0.0-preview.30](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.29...v3.0.0-preview.30) (2020-09-02)

### Bug Fixes

* ignore missing object on initialize ([8bd9b62](8bd9b621b9))

### Features

* add API to bind ParticleSystem object ([a77bbd3](a77bbd3a9a))
2020-09-02 05:15:30 +00:00
semantic-release-bot 7f36ca15dd 3.0.0-preview.28
# [3.0.0-preview.28](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.27...v3.0.0-preview.28) (2020-09-01)

### Features

* support AnimatableProperty for multiple materials ([062d988](062d9887fb))
2020-09-01 17:39:05 +00:00
semantic-release-bot 2b9e8ecd73 3.0.0-preview.27
# [3.0.0-preview.27](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.26...v3.0.0-preview.27) (2020-09-01)

### Bug Fixes

* not masked ([4ef5947](4ef5947baa))
2020-09-01 08:05:15 +00:00
semantic-release-bot 9071798353 3.0.0-preview.24
# [3.0.0-preview.24](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.23...v3.0.0-preview.24) (2020-09-01)

### Bug Fixes

* hide camera for baking ([30b4703](30b4703e2a))
* In ignore canvas scaler mode, Transform.localScale is zero ([cc71f2b](cc71f2bdac)), closes [#89](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/89)
* In prefab mode, an error occurs ([a222f37](a222f3710b)), closes [#88](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/88)

### Features

* remove menu in inspector ([e7f8f51](e7f8f51212))
2020-09-01 04:50:54 +00:00
semantic-release-bot 0eb76a6432 3.0.0-preview.23
# [3.0.0-preview.23](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.22...v3.0.0-preview.23) (2020-08-31)

### Bug Fixes

* the default value of IgnoreCanvasScaler is true ([966fae1](966fae1d22))
2020-08-31 00:28:39 +00:00
semantic-release-bot 58465259ad 3.0.0-preview.22
# [3.0.0-preview.22](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.21...v3.0.0-preview.22) (2020-08-29)

### Bug Fixes

* build fails ([ac080a4](ac080a44e4)), closes [#85](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/85)
2020-08-29 03:10:32 +00:00
semantic-release-bot 46ec957a52 3.0.0-preview.21
# [3.0.0-preview.21](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.20...v3.0.0-preview.21) (2020-08-28)

### Bug Fixes

* if in the mask, rendering material will be destroyed ([0db40cf](0db40cf160))
* support animatable material property (again) ([cf6ca80](cf6ca80d12))
2020-08-28 18:55:47 +00:00
semantic-release-bot ab27f0af6f 3.0.0-preview.20
# [3.0.0-preview.20](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.19...v3.0.0-preview.20) (2020-08-28)

### Features

* automatically update ([96a868b](96a868b60a))
2020-08-28 07:50:13 +00:00
semantic-release-bot 0d4a5875d1 3.0.0-preview.19
# [3.0.0-preview.19](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.18...v3.0.0-preview.19) (2020-08-28)

### Bug Fixes

* baking camera settings for camera space ([436c5e4](436c5e47f7))
* fix local simulation ([7add9de](7add9defb7))

### Features

* add menu to create UIParticle ([2fa1843](2fa18431f0))
* add play/pause/stop api ([f09a386](f09a386bc5))
* support for changing rendering orders ([745d4a5](745d4a5988))
* Support for child ParticleSystem rendering ([4ee90be](4ee90be17c))
* UIParticle for trail is no longer needed ([466e43c](466e43cf93))

### BREAKING CHANGES

* The child UIParticle is no longer needed.
2020-08-28 05:38:13 +00:00
semantic-release-bot eccb3ecb5e 3.0.0-preview.18
# [3.0.0-preview.18](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.17...v3.0.0-preview.18) (2020-08-19)

### Bug Fixes

* AsmdefEx is no longer required ([50e749c](50e749c183))
* fix camera for baking mesh ([6395a4f](6395a4fa74))
* support .Net Framework 3.5 (again) ([23fcb06](23fcb06bf9))

### Features

* 3.0.0 updater ([f99292b](f99292b9a1))
* add menu to create UIParticle ([14f1c78](14f1c782ff))
* Combine baked meshes to improve performance ([633d058](633d058756))
* improve performance ([77c056a](77c056ad5f))
* optimization for vertices transforms and adding node for trails ([e070e8d](e070e8d5ee)), closes [#75](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/75)
* option to ignoring canvas scaling ([fe85fed](fe85fed3c0))
* support 3d scaling ([42a84bc](42a84bc5e1))
* support custom simulation space ([a83e647](a83e64761c)), closes [#78](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/78)
* support for particle systems including trail only ([f389d39](f389d39953)), closes [#61](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/61)

### BREAKING CHANGES

* The bake-task has changed significantly. It may look different from previous versions.
2020-08-19 19:42:17 +00:00
semantic-release-bot 785709fa02 3.0.0-preview.17
# [3.0.0-preview.17](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.16...v3.0.0-preview.17) (2020-08-13)

### Bug Fixes

* The type or namespace name 'U2D' does not exist in the namespace 'UnityEditor.Experimental' in Unity 2019.3 or later ([930199e](930199e5e4)), closes [#82](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/82)
2020-08-13 12:45:27 +00:00
semantic-release-bot f2034e27b7 3.0.0-preview.16
# [3.0.0-preview.16](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.15...v3.0.0-preview.16) (2020-08-12)

### Bug Fixes

* texture sheet animation module Sprite mode not working ([30d1d5d](30d1d5d3cc)), closes [#79](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/79)
2020-08-12 14:19:09 +00:00
semantic-release-bot e036d254a8 3.0.0-preview.13
# [3.0.0-preview.13](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.12...v3.0.0-preview.13) (2020-08-11)

### Bug Fixes

* Added CanvasRenderer as a required component ([a8950f6](a8950f65c8))
* inspector is broken in Unity 2020.1 ([26c5395](26c5395a45))

### Features

* update OSC to 1.0.0-preview.25 ([22e116e](22e116e11d))
2020-08-11 15:09:56 +00:00
semantic-release-bot af9909f4dc 3.0.0-preview.12
# [3.0.0-preview.12](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.11...v3.0.0-preview.12) (2020-08-11)

### Bug Fixes

* Profiler.BeginSample -> Profiler.EndSample if a canvas is disabled or a camera doesn't found ([4a0a5d1](4a0a5d13be))
2020-08-11 14:42:10 +00:00
semantic-release-bot 901e7f1647 3.0.0-preview.11
# [3.0.0-preview.11](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.10...v3.0.0-preview.11) (2020-05-07)

### Bug Fixes

* If sprite is null, a null exception is thrown ([50c6e98](50c6e980ca))
2020-05-07 18:11:09 +00:00
semantic-release-bot bb7443400c 3.0.0-preview.10
# [3.0.0-preview.10](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.9...v3.0.0-preview.10) (2020-04-30)

### Features

* add support for SpriteAtlas ([b31e325](b31e325bb1))
2020-04-30 03:28:49 +00:00
semantic-release-bot c5ff121b35 3.0.0-preview.8
# [3.0.0-preview.8](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.7...v3.0.0-preview.8) (2020-03-03)

### Bug Fixes

* abnormal Mesh Bounds with Particle Trails ([518a749](518a749710)), closes [#61](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/61)
* multiple UIParticleOverlayCamera in scene ([3f09395](3f093958b3)), closes [#73](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/73)
2020-03-03 09:48:15 +00:00
semantic-release-bot 628a8c6bf0 3.0.0-preview.5
# [3.0.0-preview.5](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.4...v3.0.0-preview.5) (2020-02-21)

### Bug Fixes

* particles not visible if scale.z is 0 ([35718e0](35718e099a)), closes [#64](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/64)
2020-02-21 11:42:31 +00:00
semantic-release-bot a4cbebeb29 3.0.0-preview.1
# [3.0.0-preview.1](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v2.3.0...v3.0.0-preview.1) (2020-02-12)

### Bug Fixes

* change the text in the inspector to make it more understandable. ([7ca0b6f](7ca0b6fa34)), closes [#66](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/66)
* editor crashes when mesh is set to null when ParticleSystem.RenderMode=Mesh ([e5ebadd](e5ebadd847)), closes [#69](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/69)
* getting massive errors on editor ([ef82fa8](ef82fa82a6)), closes [#67](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/67)
* heavy editor UI ([d3b470a](d3b470a2be))
* remove a menu to add overlay camera ([f5d3b6e](f5d3b6edb5))
* rotating the particle rect may cause out of bounds ([3439842](3439842119)), closes [#55](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/55)
* scale will be decrease on editor ([0c59846](0c59846f11))
* UI darker than normal when change to linear color space ([db4d8a7](db4d8a742c)), closes [#57](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/57)

### Build System

* update develop environment ([9fcf169](9fcf169cd3))

### Features

* add menu to import sample ([b8b1827](b8b1827318))
* add samples test ([287b5cc](287b5cc832))
* **editor:** add osc package (portable mode) ([6c7f880](6c7f880435))

### BREAKING CHANGES

* update develop environment to Unity 2018.3.
Unity 2018.2 will continue to be supported.
2020-02-12 12:38:07 +00:00
mob-sakai 66a0ab7ad5 fix #47; World simulation bug 2019-05-08 00:06:46 +09:00
mob-sakai f6e64c325b close #45; Disable ParticleSystemRenderer on reset 2019-02-26 11:28:22 +09:00
mob-sakai beb6fa8367 Format 2019-02-26 11:11:48 +09:00
mob-sakai 6c2ed22e3a fix #44; v2.2.0 has 2 warnings 2019-02-26 11:10:47 +09:00