fix: generated baking-camera object remains in the prefab or scene
parent
1674e850e0
commit
929c0d686b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue