Explorar o código

Merge pull request #41425 from Calinou/doc-2d-sprite-animation

Link to 2D Sprite animation tutorial in relevant class documentations
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
8c4f556637

+ 1 - 0
doc/classes/AnimatedSprite2D.xml

@@ -7,6 +7,7 @@
 		Animations are created using a [SpriteFrames] resource, which can be configured in the editor via the SpriteFrames panel.
 	</description>
 	<tutorials>
+		<link title="2D Sprite animation">https://docs.godotengine.org/en/latest/tutorials/2d/2d_sprite_animation.html</link>
 	</tutorials>
 	<methods>
 		<method name="is_playing" qualifiers="const">

+ 1 - 0
doc/classes/AnimatedSprite3D.xml

@@ -7,6 +7,7 @@
 		Animations are created using a [SpriteFrames] resource, which can be configured in the editor via the SpriteFrames panel.
 	</description>
 	<tutorials>
+		<link title="2D Sprite animation (also applies to 3D)">https://docs.godotengine.org/en/latest/tutorials/2d/2d_sprite_animation.html</link>
 	</tutorials>
 	<methods>
 		<method name="is_playing" qualifiers="const">

+ 1 - 0
doc/classes/AnimationPlayer.xml

@@ -10,6 +10,7 @@
 	</description>
 	<tutorials>
 		<link>https://docs.godotengine.org/en/latest/getting_started/step_by_step/animations.html</link>
+		<link title="2D Sprite animation">https://docs.godotengine.org/en/latest/tutorials/2d/2d_sprite_animation.html</link>
 		<link>https://docs.godotengine.org/en/latest/tutorials/animation/index.html</link>
 	</tutorials>
 	<methods>