8,018
edits
Paradox-01 (talk | contribs) m (removed obsolete image caption) |
Paradox-01 (talk | contribs) m (→Widgets: F1 for wireframe mode in Unreal Editor) |
||
Line 588: | Line 588: | ||
====Widgets==== | ====Widgets==== | ||
[[Image:ue4_open_close_a_menu_widget.jpg|400px|right|thumb]] | [[Image:ue4_open_close_a_menu_widget.jpg|400px|right|thumb|For testing purposes H key is used to show the pause menu. F1 will let the Unreal Editor switch wireframe mode.]] | ||
<!--obsolete with IsValid node [[Image:ue4_create_widget_ref_after_BeginPlay.jpg|400px|right|thumb|Creating a menu reference at BeginPlay. Reminder: "Cast To ..." node is used to get variables from another blueprint.]]--> | <!--obsolete with IsValid node [[Image:ue4_create_widget_ref_after_BeginPlay.jpg|400px|right|thumb|Creating a menu reference at BeginPlay. Reminder: "Cast To ..." node is used to get variables from another blueprint.]]--> | ||
Any key can be used to open a menu. But when the game gets paused too then pressing the same key again cannot close the menu. | Any key can be used to open a menu. But when the game gets paused too then pressing the same key again cannot close the menu. | ||
Line 605: | Line 605: | ||
Buttons have 4 styles: Normal, Hovered, Pressed, Disabled. | Buttons have 4 styles: Normal, Hovered, Pressed, Disabled. | ||
For now lets use only 2 | For now lets use only 2 textures: one for Normal, one for Hovered and Pressed. | ||
The Disabled style just uses a tint color on the Normal texture with an RGBA of 000000FF. | The Disabled style just uses a tint color on the Normal texture with an RGBA of 000000FF. |
edits