فهرست منبع

Merge pull request #80851 from vitormaduro/master

Updated C# example of AddPropertyInfo
Rémi Verschelde 2 سال پیش
والد
کامیت
0024d2e541
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      doc/classes/ProjectSettings.xml

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