mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Correct C# syntax in _validate_property example for the Object class
(cherry picked from commit e40b23c619)
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