Skip to content

Commit

Permalink
fix: TerminalMaskingShape is hidden even with `HideGeneratedComponent…
Browse files Browse the repository at this point in the history
…s=false`
  • Loading branch information
mob-sakai committed Nov 14, 2024
1 parent f9937a9 commit 8ddb586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packages/src/Runtime/MaskingShape/MaskingShapeContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private TerminalMaskingShape FindTerminal()

var go = new GameObject("[generated] TerminalMaskingShape");
go.transform.SetParent(transform, false);
go.hideFlags = HideFlags.HideAndDontSave;
go.hideFlags = UISoftMaskProjectSettings.hideFlagsForTemp;

return go.AddComponent<TerminalMaskingShape>();
}
Expand Down

0 comments on commit 8ddb586

Please sign in to comment.