Browse Source

Merge pull request #2622 from Keelar/master

Fix odd/confusing wording in c_sharp_basics.rst
Rémi Verschelde 6 years ago
parent
commit
e43fc9a155
1 changed files with 2 additions and 2 deletions
  1. 2 2
      getting_started/scripting/c_sharp/c_sharp_basics.rst

+ 2 - 2
getting_started/scripting/c_sharp/c_sharp_basics.rst

@@ -174,8 +174,8 @@ class reference pages for
 :ref:`@GDScript <class_@gdscript>` and :ref:`@GlobalScope <class_@globalscope>`.
 
 .. note::
-    Keep in mind that the class you wish to attach to your node should be
-    named as the ``.cs`` file. Otherwise, you will get the following error
+    Keep in mind that the class you wish to attach to your node should have the same
+    name as the ``.cs`` file. Otherwise, you will get the following error
     and won't be able to run the scene:
     *"Cannot find class XXX for script res://XXX.cs"*