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

Merge pull request #8235 from k0T0z/fix-wrong-property-name

Fix wrong property name of ``AnimatedSprite2D``
Matthew преди 1 година
родител
ревизия
284756eb69
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      getting_started/first_2d_game/04.creating_the_enemy.rst

+ 1 - 1
getting_started/first_2d_game/04.creating_the_enemy.rst

@@ -142,7 +142,7 @@ and randomly choose one of the three animation types:
         _animated_sprite->set_animation(mob_types[random->randi() % mob_types.size()]);
     }
 
-First, we get the list of animation names from the AnimatedSprite2D's ``frames``
+First, we get the list of animation names from the AnimatedSprite2D's ``sprite_frames``
 property. This returns an Array containing all three animation names: ``["walk",
 "swim", "fly"]``.