瀏覽代碼

Link to 2D Sprite animation tutorial in relevant class documentations

(cherry picked from commit 6d62e8b917364f3b0e17f6907732d210248498b7)
Hugo Locurcio 5 年之前
父節點
當前提交
3b080845a8
共有 3 個文件被更改,包括 3 次插入0 次删除
  1. 1 0
      doc/classes/AnimatedSprite.xml
  2. 1 0
      doc/classes/AnimatedSprite3D.xml
  3. 1 0
      doc/classes/AnimationPlayer.xml

+ 1 - 0
doc/classes/AnimatedSprite.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>