فهرست منبع

Fix: Use the earlier name of the script.

Aaron 1 سال پیش
والد
کامیت
09d38572cf
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      getting_started/step_by_step/scripting_player_input.rst

+ 1 - 1
getting_started/step_by_step/scripting_player_input.rst

@@ -144,7 +144,7 @@ Here is the complete ``sprite_2d.gd`` file for reference.
 
     using Godot;
 
-    public partial class Sprite : Sprite2D
+    public partial class MySprite2D : Sprite2D
     {
         private float _speed = 400;
         private float _angularSpeed = Mathf.Pi;