Merge pull request #86649 from SGiygas/patch-1
Correct C# syntax in `_validate_property` example for the Object class
This commit is contained in:
commit
7fc37a8981
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@
|
||||||
{
|
{
|
||||||
if (property["name"].AsStringName() == PropertyName.Number && IsNumberEditable)
|
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;
|
property["usage"] = (int)usage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue