release v1.3.2
commit
38da308f36
|
@ -59,9 +59,7 @@ namespace Coffee.UIExtensions
|
|||
Profiler.BeginSample ("Check material");
|
||||
var mat = m_IsTrail
|
||||
? _renderer.trailMaterial
|
||||
: Application.isPlaying
|
||||
? _renderer.material
|
||||
: _renderer.sharedMaterial;
|
||||
: _renderer.sharedMaterial;
|
||||
if (mat && mat.HasProperty (s_IdMainTex))
|
||||
{
|
||||
tex = mat.mainTexture;
|
||||
|
@ -143,6 +141,10 @@ namespace Coffee.UIExtensions
|
|||
s_TempRelatables.Clear ();
|
||||
|
||||
_renderer = cachedParticleSystem ? cachedParticleSystem.GetComponent<ParticleSystemRenderer> () : null;
|
||||
if (_renderer && Application.isPlaying)
|
||||
{
|
||||
_renderer.enabled = false;
|
||||
}
|
||||
|
||||
// Create objects.
|
||||
_mesh = new Mesh ();
|
||||
|
|
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -1,5 +1,17 @@
|
|||
# Changelog
|
||||
|
||||
## [v1.3.2](https://github.com/mob-sakai/ParticleEffectForUGUI/tree/v1.3.2) (2018-12-29)
|
||||
|
||||
[Full Changelog](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v1.3.1...v1.3.2)
|
||||
|
||||
**Implemented enhancements:**
|
||||
|
||||
- Use shared material during play mode [\#29](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/29)
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- Particle not showing on Android, while on editor it works [\#31](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/31)
|
||||
|
||||
## [v1.3.1](https://github.com/mob-sakai/ParticleEffectForUGUI/tree/v1.3.1) (2018-12-24)
|
||||
|
||||
[Full Changelog](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v1.3.0...v1.3.1)
|
||||
|
@ -18,7 +30,6 @@ With Gizmo you can control the scaled Shape.
|
|||
|
||||
**Fixed bugs:**
|
||||
|
||||
- Assertion failed on expression: 'IsNormalized\(normal, 0.001f\)' [\#22](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/22)
|
||||
- In overlay, particle size is too small [\#23](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/23)
|
||||
- UIParticle.Scale does not affect the gizmo of shape module [\#21](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/21)
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ Compares this "Baking mesh" approach with the conventional approach:
|
|||
* No heavy allocation every frame
|
||||
* All ParticleSystem.ScalingModes and all Canvas.RenderModes are supported. They look almost the same in all modes.
|
||||

|
||||
* Scaled gizmo
|
||||
* Scaled gizmo
|
||||

|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ParticleEffectForUGUI",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.2",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/mob-sakai/ParticleEffectForUGUI.git"
|
||||
|
|
Loading…
Reference in New Issue