fix: generated baking-camera object remains in the prefab or scene

mob-sakai 2024-06-21 14:21:53 +09:00
parent 79635e81d7
commit 42fb0ecf23
1 changed files with 1 additions and 2 deletions

View File

@ -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);