Browse Source

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

(cherry picked from commit d884e3ef072a8adc7d3b0832b89d28c31f677112)
Kitzu 1 year ago
parent
commit
f87295f92c
1 changed files with 1 additions and 1 deletions
  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
         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()
             public BotStatsTable()
             {
             {