From 42fb0ecf239f027e6f0181eecc445921ffc4227c Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:21:53 +0900 Subject: [PATCH] fix: generated baking-camera object remains in the prefab or scene --- Runtime/UIParticle.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/UIParticle.cs b/Runtime/UIParticle.cs index f63c4e1..9aeea47 100644 --- a/Runtime/UIParticle.cs +++ b/Runtime/UIParticle.cs @@ -690,8 +690,7 @@ namespace Coffee.UIExtensions { var go = new GameObject("[generated] UIParticle BakingCamera") { - // hideFlags = HideFlags.HideAndDontSave - hideFlags = HideFlags.DontSave + hideFlags = HideFlags.HideAndDontSave }; go.SetActive(false); go.transform.SetParent(transform, false);