Correct C# syntax in _validate_property example for the Object class
This commit is contained in:
parent
13a0d6e9b2
commit
e40b23c619
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue