4.0: Convert Sprite references to Sprite2D

Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
This commit is contained in:
Rémi Verschelde
2021-10-06 14:29:55 +02:00
parent 15f78ae0b9
commit 9a05eef561
37 changed files with 243 additions and 243 deletions

View File

@@ -88,7 +88,7 @@ Here is the code for the player using signals to emit the bullet:
.. tabs::
.. code-tab:: gdscript GDScript
extends Sprite
extends Sprite2D
signal shoot(bullet, direction, location)
@@ -104,7 +104,7 @@ Here is the code for the player using signals to emit the bullet:
.. code-tab:: csharp
public class Player : Sprite
public class Player : Sprite2D
{
[Signal]
delegate void Shoot(PackedScene bullet, Vector2 direction, Vector2 location);