Closed NIA closed 6 years ago
public static class GameObjectUtils { public static string GetFullPath(this Transform transform) { string path = transform.name; while (transform.parent != null) { transform = transform.parent; path = transform.name + "/" + path; } return path; } }
This happens on every extension method in every static class, both in my Unity and plain C# projects.
Hello. Fixed. It's my mistake (i added this modifier to generic parameter not parameter :D)
Thanks
This happens on every extension method in every static class, both in my Unity and plain C# projects.