fix: null Reference when creating New Scene after Prefab was open in PrefabMode

Close #111
pull/120/head
mob-sakai 2020-11-10 01:51:24 +09:00
parent 68669c7396
commit 22bcecd0ab
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ namespace Coffee.UIExtensions
private static void Refresh(UIParticle particle)
{
if (!particle || !particle.canvas || !particle.canvasRenderer) return;
if (!particle || !particle.bakedMesh || !particle.canvas || !particle.canvasRenderer) return;
Profiler.BeginSample("[UIParticle] Modify scale");
ModifyScale(particle);