2
0
Эх сурвалжийг харах

Corrects case on class name, adds note about it.

PJB3005 8 жил өмнө
parent
commit
765c03a492

+ 3 - 1
learning/step_by_step/scripting.rst

@@ -262,7 +262,9 @@ The final script should look basically like this:
 
     using Godot;
 
-    public class SayHello : Panel
+    // IMPORTANT: the name of the class MUST match the filename exactly.
+    // this is case sensitive!
+    public class sayhello : Panel
     {
         public void _OnButtonPressed()
         {