fix: generated baking-camera object remains in the prefab or scene
parent
79635e81d7
commit
42fb0ecf23
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue