Correct C# syntax in _validate_property example for the Object class

(cherry picked from commit e40b23c619)
This commit is contained in:
Gwen 2023-12-30 19:13:58 +01:00 committed by Yuri Sizov
parent 49cec88ff9
commit 27d08e2d87

View File

@ -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;
}
}