We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8daa3af + 8a7d0e9 commit feb1db0Copy full SHA for feb1db0
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()``.
224
// We also specified this function name in PascalCase in the editor's connection window.
225
private void OnMobTimerTimeout()
226
{
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
-
231
// Create a new instance of the Mob scene.
232
Mob mob = MobScene.Instantiate<Mob>();
233
0 commit comments