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)
pull/77/head
semantic-release-bot 2020-03-03 09:48:14 +00:00
parent 8cd1b9e46b
commit c5ff121b35
4 changed files with 23 additions and 4 deletions

View File

@ -1,3 +1,11 @@
# [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](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/518a7497105a114a0f6b1782df0c35ba0aecfab2)), closes [#61](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/61)
* multiple UIParticleOverlayCamera in scene ([3f09395](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/3f093958b3353463d6c5bd29ef3338203d4e41d7)), closes [#73](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/73)
# [3.0.0-preview.7](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.6...v3.0.0-preview.7) (2020-03-02)

View File

@ -381,11 +381,13 @@ namespace Coffee.UIExtensions
}
Profiler.EndSample();
// Editor crashes when mesh is set to null when ParticleSystem.RenderMode=Mesh
// #69: Editor crashes when mesh is set to null when ParticleSystem.RenderMode=Mesh
if (_renderer.renderMode == ParticleSystemRenderMode.Mesh && !_renderer.mesh)
{
return;
}
// #61: When ParticleSystem.RenderMode=None, an error occurs
if (_renderer.renderMode == ParticleSystemRenderMode.None)
return;
Profiler.BeginSample("Make Matrix");
ParticleSystem.MainModule main = m_ParticleSystem.main;

View File

@ -133,6 +133,15 @@ namespace Coffee.UIExtensions
}
}
/// <summary>
/// This function is called when the MonoBehaviour will be destroyed.
/// </summary>
void OnEnable()
{
gameObject.hideFlags = HideFlags.HideAndDontSave;
gameObject.tag = "EditorOnly";
}
/// <summary>
/// This function is called when the MonoBehaviour will be destroyed.
/// </summary>

View File

@ -2,7 +2,7 @@
"name": "com.coffee.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.",
"version": "3.0.0-preview.7",
"version": "3.0.0-preview.8",
"unity": "2018.2",
"license": "MIT",
"repository": {