Correct C# syntax in _validate_property example for the Object class
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user