Skip to content

Commit 031cb85

Browse files
authoredOct 17, 2023
Fix english ui-libraries.md
1 parent 6f9dd2f commit 031cb85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎en/manual/ui/ui-libraries.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public Button CreateButton()
5050
if (button != null)
5151
{
5252
// attach a delegate to the Click event
53-
someButton.Click += delegate
53+
button.Click += delegate
5454
{
5555
// do something here...
5656
};
@@ -67,4 +67,4 @@ UI pages have only one root element. UI libraries can have multiple root element
6767
* [UI pages](ui-pages.md)
6868
* [UI editor](ui-editor.md)
6969
* [Add a UI to a scene](add-a-ui-to-a-scene.md)
70-
* [Layout system](layout-system.md)
70+
* [Layout system](layout-system.md)

0 commit comments

Comments
 (0)
Please sign in to comment.