Skip to content

Commit a8ae068

Browse files
committed
Must be spelled exactly like this
1 parent 9bd6e3c commit a8ae068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/tutorials/building_2d_games/21_customizing_gum_ui/snippets/animatedbutton.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public AnimatedButton(TextureAtlas atlas)
4343
// Create the text element that will display the button's label
4444
TextRuntime textInstance = new TextRuntime();
4545
// Name is required so it hooks in to the base Button.Text property
46-
textInstance.Name = nameof(textInstance);
46+
textInstance.Name = "TextInstance";
4747
textInstance.Text = "START";
4848
textInstance.Blue = 130;
4949
textInstance.Green = 86;

0 commit comments

Comments
 (0)