2
0
Эх сурвалжийг харах

Merge pull request #80851 from vitormaduro/master

Updated C# example of AddPropertyInfo
Rémi Verschelde 2 жил өмнө
parent
commit
0024d2e541

+ 2 - 2
doc/classes/ProjectSettings.xml

@@ -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"},
 				};