Updated C# example for method AddPropertyInfo
(cherry picked from commit 694f280acd
)
This commit is contained in:
parent
3de5e5d4d4
commit
60b432a1f0
|
@ -43,8 +43,8 @@
|
||||||
var propertyInfo = new Godot.Collections.Dictionary
|
var propertyInfo = new Godot.Collections.Dictionary
|
||||||
{
|
{
|
||||||
{"name", "category/propertyName"},
|
{"name", "category/propertyName"},
|
||||||
{"type", Variant.Type.Int},
|
{"type", (int)Variant.Type.Int},
|
||||||
{"hint", PropertyHint.Enum},
|
{"hint", (int)PropertyHint.Enum},
|
||||||
{"hint_string", "one,two,three"},
|
{"hint_string", "one,two,three"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue