Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 8c5e767

Browse files
committed
Fix LayerMask Parsing
1 parent 32ad61b commit 8c5e767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/Utility/ParseUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ public static string LayerMaskToString(object obj)
412412
if (!(obj is LayerMask mask))
413413
return null;
414414

415-
return mask.ToString();
415+
return mask.value.ToString();
416416
}
417417

418418
#endregion

0 commit comments

Comments
 (0)