You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-15 12:40:08 +00:00
Compare commits
5 Commits
develop-te
...
3.x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6394eee4de | ||
|
|
1f1fb2a62a | ||
|
|
640cee9e34 | ||
|
|
9dedbfb48f | ||
|
|
3849a9f697 |
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -5,7 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- preview
|
- preview
|
||||||
- main
|
- main
|
||||||
- v*.x
|
- "*.x"
|
||||||
tags-ignore:
|
tags-ignore:
|
||||||
- "**"
|
- "**"
|
||||||
|
|
||||||
@@ -13,9 +13,9 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: cycjimmy/semantic-release-action@v2
|
- uses: cycjimmy/semantic-release-action@v3
|
||||||
with:
|
with:
|
||||||
extra_plugins: |
|
extra_plugins: |
|
||||||
@semantic-release/changelog
|
@semantic-release/changelog
|
||||||
|
|||||||
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,3 +1,17 @@
|
|||||||
|
## [3.3.14](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/3.3.13...3.3.14) (2023-08-15)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* error on InitializeIfNeeded ([1f1fb2a](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/1f1fb2a62a9d2ca6562e1b1e70d528aaf52bfc82)), closes [#264](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/264)
|
||||||
|
|
||||||
|
## [3.3.13](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/3.3.12...3.3.13) (2023-05-18)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* memory leak when using AnimatableProperty ([3849a9f](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/3849a9f6977bc6d2474001c8154a8e201f7e8b7b))
|
||||||
|
|
||||||
## [3.3.12](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/3.3.11...3.3.12) (2022-06-10)
|
## [3.3.12](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/3.3.11...3.3.12) (2022-06-10)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -313,6 +313,20 @@ namespace Coffee.UIExtensions
|
|||||||
ClearPreviousMaterials();
|
ClearPreviousMaterials();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void ClearMaterials()
|
||||||
|
{
|
||||||
|
// Clear mask materials.
|
||||||
|
s_PrevMaskMaterials.AddRange(_maskMaterials);
|
||||||
|
_maskMaterials.Clear();
|
||||||
|
|
||||||
|
// Clear modified materials.
|
||||||
|
s_PrevModifiedMaterials.AddRange(_modifiedMaterials);
|
||||||
|
_modifiedMaterials.Clear();
|
||||||
|
|
||||||
|
canvasRenderer.Clear();
|
||||||
|
ClearPreviousMaterials();
|
||||||
|
}
|
||||||
|
|
||||||
private void ClearPreviousMaterials()
|
private void ClearPreviousMaterials()
|
||||||
{
|
{
|
||||||
foreach (var m in s_PrevMaskMaterials)
|
foreach (var m in s_PrevMaskMaterials)
|
||||||
@@ -447,6 +461,7 @@ namespace Coffee.UIExtensions
|
|||||||
_bakedMesh = null;
|
_bakedMesh = null;
|
||||||
|
|
||||||
base.OnDisable();
|
base.OnDisable();
|
||||||
|
ClearMaterials();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -465,6 +480,7 @@ namespace Coffee.UIExtensions
|
|||||||
|
|
||||||
private void InitializeIfNeeded()
|
private void InitializeIfNeeded()
|
||||||
{
|
{
|
||||||
|
if (!this) return;
|
||||||
if (enabled && m_IsTrail)
|
if (enabled && m_IsTrail)
|
||||||
{
|
{
|
||||||
UnityEngine.Debug.LogWarningFormat(this, "[UIParticle] The UIParticle component should be removed: {0}\nReason: UIParticle for trails is no longer needed.", name);
|
UnityEngine.Debug.LogWarningFormat(this, "[UIParticle] The UIParticle component should be removed: {0}\nReason: UIParticle for trails is no longer needed.", name);
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "com.coffee.ui-particle",
|
"name": "com.coffee.ui-particle",
|
||||||
"displayName": "UI Particle",
|
"displayName": "UI Particle",
|
||||||
"description": "This plugin provide a component to render particle effect for uGUI.\nThe particle rendering is maskable and sortable, without Camera, RenderTexture or Canvas.",
|
"description": "This plugin provide a component to render particle effect for uGUI.\nThe particle rendering is maskable and sortable, without Camera, RenderTexture or Canvas.",
|
||||||
"version": "3.3.12",
|
"version": "3.3.14",
|
||||||
"unity": "2018.2",
|
"unity": "2018.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user