Skip to content

Commit

Permalink
Change name of exported variable
Browse files Browse the repository at this point in the history
Since the exported `PackedScene` variable is named `mob_scene`, the generated script variable is called `Mob Scene`, not `Mob`.
  • Loading branch information
vinegar-tom authored Jun 27, 2021
1 parent 114237f commit 2dc0523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getting_started/first_2d_game/05.the_main_game_scene.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Add a script to ``Main``. At the top of the script, we use ``export
}
}

Click the ``Main`` node and you will see the ``Mob`` property in the Inspector
Click the ``Main`` node and you will see the ``Mob Scene`` property in the Inspector
under "Script Variables".

You can assign this property's value in two ways:
Expand Down

0 comments on commit 2dc0523

Please sign in to comment.