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

Remove unneeded C# comment from First 2D Game

tetrapod00 преди 9 месеца
родител
ревизия
8a7d0e991c
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  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.
     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.
         Mob mob = MobScene.Instantiate<Mob>();