Ver código fonte

Merge pull request #9431 from KitzuGG/master

Fix (C#) Dictionaries in the Scripting/Resources section
A Thousand Ships 1 ano atrás
pai
commit
f5bc8b1b9f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      tutorials/scripting/resources.rst

+ 1 - 1
tutorials/scripting/resources.rst

@@ -337,7 +337,7 @@ Now, select the :ref:`CharacterBody3D <class_CharacterBody3D>` node which we nam
         [GlobalClass]
         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()
             {