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

pull/336/head
mob-sakai 2024-06-21 14:21:53 +09:00
parent 1674e850e0
commit 929c0d686b
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") var go = new GameObject("[generated] UIParticle BakingCamera")
{ {
// hideFlags = HideFlags.HideAndDontSave hideFlags = HideFlags.HideAndDontSave
hideFlags = HideFlags.DontSave
}; };
go.SetActive(false); go.SetActive(false);
go.transform.SetParent(transform, false); go.transform.SetParent(transform, false);