Skip to content

Commit 4659c94

Browse files
authored
Merge pull request #290 from ExtendRealityLtd/fix/isvisiblebug
fix(Facade): toggle isVisible correctly
2 parents df2338d + 158f7d1 commit 4659c94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Runtime/SharedResources/Scripts/SnapZoneFacade.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,13 +253,13 @@ public virtual bool IsVisible
253253
}
254254
set
255255
{
256-
if (gameObject.activeInHierarchy)
256+
if (value)
257257
{
258-
Configuration.Hide();
258+
Configuration.Show();
259259
}
260260
else
261261
{
262-
Configuration.Show();
262+
Configuration.Hide();
263263
}
264264
}
265265
}

0 commit comments

Comments
 (0)