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

pull/318/head
mob-sakai 2024-06-21 14:21:53 +09:00
parent e1b66d8d90
commit 0bb8438301
1 changed files with 1 additions and 2 deletions

View File

@ -600,8 +600,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);