Merge remote-tracking branch 'origin/master' into 1.5

This commit is contained in:
Wojtek Figat
2023-01-15 12:44:45 +01:00
9 changed files with 329 additions and 34 deletions

View File

@@ -11,10 +11,10 @@ namespace FlaxEditor.Tests
[Test]
public void TestFormatting()
{
Assert.AreEqual("property", Utils.GetPropertyNameUI("property"));
Assert.AreEqual("property", Utils.GetPropertyNameUI("_property"));
Assert.AreEqual("property", Utils.GetPropertyNameUI("m_property"));
Assert.AreEqual("property", Utils.GetPropertyNameUI("g_property"));
Assert.AreEqual("Property", Utils.GetPropertyNameUI("property"));
Assert.AreEqual("Property", Utils.GetPropertyNameUI("_property"));
Assert.AreEqual("Property", Utils.GetPropertyNameUI("m_property"));
Assert.AreEqual("Property", Utils.GetPropertyNameUI("g_property"));
Assert.AreEqual("Property", Utils.GetPropertyNameUI("Property"));
Assert.AreEqual("Property 1", Utils.GetPropertyNameUI("Property1"));
Assert.AreEqual("Property Name", Utils.GetPropertyNameUI("PropertyName"));