Skip to content

Commit

Permalink
fix: addressable build error in Unity 6
Browse files Browse the repository at this point in the history
close #224
  • Loading branch information
mob-sakai committed Jan 18, 2025
1 parent 3a90175 commit 0f25706
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public class UISoftMaskProjectSettings : PreloadedProjectSettings<UISoftMaskProj
#endif

public static HideFlags hideFlagsForTemp => instance.m_HideGeneratedComponents
? HideFlags.DontSave | HideFlags.NotEditable | HideFlags.HideInHierarchy | HideFlags.HideInInspector
: HideFlags.DontSave | HideFlags.NotEditable;
? HideFlags.DontSaveInEditor | HideFlags.NotEditable | HideFlags.HideInHierarchy | HideFlags.HideInInspector
: HideFlags.DontSaveInEditor | HideFlags.NotEditable;

public static TransformSensitivity transformSensitivity
{
Expand Down
2 changes: 1 addition & 1 deletion Packages/src/Runtime/SoftMaskable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private void UpdateHideFlags()
{
hideFlags = ignoreSelf || ignoreChildren || !Mathf.Approximately(power, 1f)
? HideFlags.None
: HideFlags.DontSave;
: HideFlags.DontSaveInEditor;
}

#if UNITY_EDITOR
Expand Down

0 comments on commit 0f25706

Please sign in to comment.