ソースを参照

Merge pull request #9603 from Piralein/waaaaaaallleeee

Add requested changes and finish up stale PR's
Matthew 1 年間 前
コミット
b19031b7f3

+ 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