Correct C# syntax in _validate_property example for the Object class
(cherry picked from commit e40b23c619
)
This commit is contained in:
parent
49cec88ff9
commit
27d08e2d87
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user