2
0
Эх сурвалжийг харах

Correct C# syntax in _validate_property example for the Object class

Gwen 1 жил өмнө
parent
commit
e40b23c619

+ 1 - 1
doc/classes/Object.xml

@@ -314,7 +314,7 @@
 				    {
 				        if (property["name"].AsStringName() == PropertyName.Number && IsNumberEditable)
 				        {
-				            var usage = property["usage"].As>PropertyUsageFlags<() | PropertyUsageFlags.ReadOnly;
+				            var usage = property["usage"].As<PropertyUsageFlags>() | PropertyUsageFlags.ReadOnly;
 				            property["usage"] = (int)usage;
 				        }
 				    }