The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:MyMainMenu (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> MyMainMenu
Package: 
GUI

(c) 2003, Epic Games, Inc. All Rights Reserved

Properties[edit]

AllowClose[edit]

Type: bool


QuitButton[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'cQuitButton'

TestButton1[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'cTestButton1'

TestButton2[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'cTestButton2'

Default values[edit]

Property Value
__OnCanClose__Delegate
__OnKeyEvent__Delegate
Background Texture'GUIContent.Menu.EpicLogo'
bAllowedAsLast True
bDisconnectOnOpen True
WinHeight 1.0

Subobjects[edit]

cQuitButton[edit]

Class: GUI.GUIButton

Property Value
__OnClick__Delegate
bFocusOnWatch True
Caption "QUIT"
Hint "Exit"
StyleName "TextButton"
TabOrder 5
WinHeight 0.042773
WinLeft 0.391602
WinTop 0.905725
WinWidth 0.205078

cTestButton1[edit]

Class: GUI.GUIButton

Property Value
__OnClick__Delegate
bFocusOnWatch True
Caption "Test 1"
Hint "The First Test"
StyleName "TextButton"
WinHeight 0.075
WinLeft 0.25
WinTop 0.334635
WinWidth 0.5

cTestButton2[edit]

Class: GUI.GUIButton

Property Value
__OnClick__Delegate
bFocusOnWatch True
Caption "Test 2"
Hint "More Tests"
StyleName "TextButton"
TabOrder 1
WinHeight 0.075
WinLeft 0.25
WinTop 0.506251
WinWidth 0.5

Instance functions[edit]

ButtonClick[edit]

function bool ButtonClick (GUIComponent Sender)


CanClose[edit]

function bool CanClose (optional bool bCancelled)


MyKeyEvent[edit]

function bool MyKeyEvent (out byte Key, out byte State, float delta)