Updated C# example for method AddPropertyInfo

(cherry picked from commit 694f280acd)
This commit is contained in:
vitormaduro 2023-08-18 13:14:27 -03:00 committed by Yuri Sizov
parent 3de5e5d4d4
commit 60b432a1f0
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@
var propertyInfo = new Godot.Collections.Dictionary
{
{"name", "category/propertyName"},
{"type", Variant.Type.Int},
{"hint", PropertyHint.Enum},
{"type", (int)Variant.Type.Int},
{"hint", (int)PropertyHint.Enum},
{"hint_string", "one,two,three"},
};