1.9.1: Fixed issue, where multiple canvases with the same name would only appear once in the scene picker list

This commit is contained in:
Anders Ejlersen 2023-09-10 12:00:09 +02:00
parent be0dfe529a
commit bc63fbe5c3
3 changed files with 18 additions and 2 deletions

View file

@ -48,7 +48,7 @@ namespace Module.NavigationTool.Editor.Toolbar
continue;
list.Add(root);
listNames.Add(root.name);
listNames.Add($"{i}: {root.name}");
listIds.Add(root.GetInstanceID());
}