Преглед на файлове

Merge pull request #9603 from Piralein/waaaaaaallleeee

Add requested changes and finish up stale PR's
Matthew преди 1 година
родител
ревизия
b19031b7f3
променени са 2 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. 4 2
      getting_started/step_by_step/scripting_first_script.rst
  2. 2 2
      tutorials/shaders/shader_reference/canvas_item_shader.rst

+ 4 - 2
getting_started/step_by_step/scripting_first_script.rst

@@ -101,7 +101,8 @@ the following line of code:
  .. code-tab:: csharp C#
 
     using Godot;
-
+    using System;
+    
     public partial class MySprite2D : Sprite2D
     {
     }
@@ -327,7 +328,8 @@ Here is the complete ``sprite_2d.gd`` file for reference.
  .. code-tab:: csharp C#
 
     using Godot;
-
+    using System;
+    
     public partial class MySprite2D : Sprite2D
     {
         private int _speed = 400;

+ 2 - 2
tutorials/shaders/shader_reference/canvas_item_shader.rst

@@ -132,9 +132,9 @@ is usually:
 +--------------------------------+----------------------------------------------------+
 | inout float **POINT_SIZE**     | Point size for point drawing.                      |
 +--------------------------------+----------------------------------------------------+
-| in vec4 **CUSTOM0**            |                                                    |
+| in vec4 **CUSTOM0**            | Custom value from vertex primitive.                |
 +--------------------------------+----------------------------------------------------+
-| in vec4 **CUSTOM1**            |                                                    |
+| in vec4 **CUSTOM1**            | Custom value from vertex primitive.                |
 +--------------------------------+----------------------------------------------------+
 
 Fragment built-ins