Optimize default C# stdlib references to prevent using jit-ed features in a game assembly

This commit is contained in:
Wojtek Figat
2023-04-01 23:34:05 +02:00
parent 2196a3d791
commit 12f4dc74d2
18 changed files with 186 additions and 163 deletions

View File

@@ -655,7 +655,7 @@ namespace FlaxEditor.CustomEditors.Dedicated
if (uiControl.Name.StartsWith(previousName))
{
string newName = controlType.Name + uiControl.Name.Substring(previousName.Length);
uiControl.Name = StringUtils.IncrementNameNumber(newName, x => uiControl.Parent.GetChild(x) == null);
uiControl.Name = Utilities.Utils.IncrementNameNumber(newName, x => uiControl.Parent.GetChild(x) == null);
}
}