Browse Source

Merge pull request #10237 from tetrapod00/remove-c#-comment

Remove unneeded C# comment from First 2D Game
Matthew 8 months ago
parent
commit
feb1db071a
1 changed files with 0 additions and 4 deletions
  1. 0 4
      getting_started/first_2d_game/05.the_main_game_scene.rst

+ 0 - 4
getting_started/first_2d_game/05.the_main_game_scene.rst

@@ -224,10 +224,6 @@ Note that a new instance must be added to the scene using ``add_child()``.
     // We also specified this function name in PascalCase in the editor's connection window.
     // We also specified this function name in PascalCase in the editor's connection window.
     private void OnMobTimerTimeout()
     private void OnMobTimerTimeout()
     {
     {
-        // Note: Normally it is best to use explicit types rather than the `var`
-        // keyword. However, var is acceptable to use here because the types are
-        // obviously Mob and PathFollow2D, since they appear later on the line.
-
         // Create a new instance of the Mob scene.
         // Create a new instance of the Mob scene.
         Mob mob = MobScene.Instantiate<Mob>();
         Mob mob = MobScene.Instantiate<Mob>();