Fix typo in GetPath

This commit is contained in:
Nick 2022-03-07 16:51:01 -05:00
parent bee527246f
commit 99ed972df6

View File

@ -75,7 +75,7 @@ namespace NewHorizons.Utility
public static string GetPath(Transform current)
{
if (current.parent == null) return "/" + current.name;
if (current.parent == null) return current.name;
return GetPath(current.parent) + "/" + current.name;
}