Przeglądaj źródła

Remove unneeded C# comment from First 2D Game

tetrapod00 9 miesięcy temu
rodzic
commit
8a7d0e991c

+ 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>();