From de3c3853a8d1a9ba52f2557eda8dfdc387a399ac Mon Sep 17 00:00:00 2001 From: mob-sakai Date: Sat, 29 Dec 2018 20:51:04 +0900 Subject: [PATCH] fix #31; Particle not showing on Android, while on editor it works --- UIParticle.cs | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 UIParticle.cs diff --git a/UIParticle.cs b/UIParticle.cs old mode 100644 new mode 100755 index 7b86caf..e9b3321 --- a/UIParticle.cs +++ b/UIParticle.cs @@ -141,6 +141,10 @@ namespace Coffee.UIExtensions s_TempRelatables.Clear (); _renderer = cachedParticleSystem ? cachedParticleSystem.GetComponent () : null; + if (_renderer && Application.isPlaying) + { + _renderer.enabled = false; + } // Create objects. _mesh = new Mesh ();