remove MakeUniqueName

This commit is contained in:
ousttrue 2020-10-27 18:58:54 +09:00
parent 15caf0cc4e
commit 1d7db07a84

View File

@ -312,20 +312,6 @@ namespace UniGLTF
}
}
static string MakeUniqueName(string name, HashSet<string> used)
{
for (var i = 0; i < 100; ++i)
{
name = $"{name}_{i}";
if (!used.Contains(name))
{
return name;
}
}
throw new Exception("hobo arienai");
}
void FixUnique()
{
var used = new HashSet<string>();