Răsfoiți Sursa

Correction on usage of Dictionaries in C# as it should be 'Godot.Collections.Dictionary<>'

(cherry picked from commit d884e3ef072a8adc7d3b0832b89d28c31f677112)
Kitzu 1 an în urmă
părinte
comite
f87295f92c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      tutorials/scripting/resources.rst

+ 1 - 1
tutorials/scripting/resources.rst

@@ -332,7 +332,7 @@ Now, select the :ref:`CharacterBody3D <class_CharacterBody3D>` node which we nam
 
         public partial class BotStatsTable : Resource
         {
-            private Godot.Dictionary<string, BotStats> _stats = new Godot.Dictionary<string, BotStats>();
+            private Godot.Collections.Dictionary<string, BotStats> _stats = new Godot.Collections.Dictionary<string, BotStats>();
 
             public BotStatsTable()
             {