Skip to content

Commit

Permalink
fix: hide camera for baking
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Sep 1, 2020
1 parent cc71f2b commit 30b4703
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Packages/UIParticle/Scripts/BakingCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ private static BakingCamera Create()

// This camera object is just for internal use
gameObject.hideFlags = HideFlags.HideAndDontSave;
gameObject.hideFlags = HideFlags.DontSave;

var inst = gameObject.AddComponent<BakingCamera>();
inst._camera = gameObject.AddComponent<Camera>();
Expand Down

0 comments on commit 30b4703

Please sign in to comment.