Skip to content

Commit feb1db0

Browse files
authored
Merge pull request #10237 from tetrapod00/remove-c#-comment
Remove unneeded C# comment from First 2D Game
2 parents 8daa3af + 8a7d0e9 commit feb1db0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

getting_started/first_2d_game/05.the_main_game_scene.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,6 @@ Note that a new instance must be added to the scene using ``add_child()``.
224224
// We also specified this function name in PascalCase in the editor's connection window.
225225
private void OnMobTimerTimeout()
226226
{
227-
// Note: Normally it is best to use explicit types rather than the `var`
228-
// keyword. However, var is acceptable to use here because the types are
229-
// obviously Mob and PathFollow2D, since they appear later on the line.
230-
231227
// Create a new instance of the Mob scene.
232228
Mob mob = MobScene.Instantiate<Mob>();
233229

0 commit comments

Comments
 (0)