diff --git a/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/snippets/game1/initializegum.cs b/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/snippets/game1/initializegum.cs index 957faf9a..27a05150 100644 --- a/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/snippets/game1/initializegum.cs +++ b/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/snippets/game1/initializegum.cs @@ -1,7 +1,7 @@ private void InitializeGum() { // Initialize the Gum service. The second parameter specifies - // the version of the default visuals to use. V2 is the latest + // the version of the default visuals to use. V3 is the latest // version. GumService.Default.Initialize(this, DefaultVisualsVersion.V3); diff --git a/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/snippets/titlescene/createoptionspanel.cs b/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/snippets/titlescene/createoptionspanel.cs index 736860a6..bfe167d1 100644 --- a/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/snippets/titlescene/createoptionspanel.cs +++ b/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/snippets/titlescene/createoptionspanel.cs @@ -14,7 +14,7 @@ private void CreateOptionsPanel() { musicLabel.Text = "Music"; musicLabel.X = 35; musicLabel.Y = 35; - optionsPanel.AddChild(musicLabel); + _optionsPanel.AddChild(musicLabel); var musicSlider = new Slider(); musicSlider.Anchor(Gum.Wireframe.Anchor.Top); @@ -32,7 +32,7 @@ private void CreateOptionsPanel() { sfxLabel.Text = "SFX"; sfxLabel.X = 20; sfxLabel.Y = 80; - optionsPanel.AddChild(sfxLabel); + _optionsPanel.AddChild(sfxLabel); var sfxSlider = new Slider(); sfxSlider.Anchor(Gum.Wireframe.Anchor.Top);