fix: null Reference when creating New Scene after Prefab was open in PrefabMode
Close #111pull/120/head
parent
68669c7396
commit
22bcecd0ab
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue