MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / AddButton

Method AddButton

Source/Editor/GUI/MainMenu.cs:66–69  ·  view source on GitHub ↗

Adds the button. The button text. Created button control.

(string text)

Source from the content-addressed store, hash-verified

64 /// <param name="text">The button text.</param>
65 /// <returns>Created button control.</returns>
66 public MainMenuButton AddButton(string text)
67 {
68 return AddChild(new MainMenuButton(text));
69 }
70
71 /// <summary>
72 /// Gets or adds a button.

Calls

no outgoing calls

Tested by

no test coverage detected