C# Class OptionsMenuControl, UnderworldExporter

Controls the ingame options menu
Inheritance: GuiBase_Draggable
Mostra file Open project: hankmorgan/UnderworldExporter

Public Properties

Property Type Description
DetailBG UnityEngine.Texture2D
DetailBest GameObject
DetailHi GameObject
DetailLow GameObject
DetailMed GameObject
DetailMenu GameObject
DetailState UnityEngine.UI.RawImage
DetailStateBest UnityEngine.Texture2D
DetailStateHi UnityEngine.Texture2D
DetailStateLow UnityEngine.Texture2D
DetailStateMed UnityEngine.Texture2D
Detail_Cancel GameObject
DisplayBG UnityEngine.UI.RawImage
InteractionMenu InteractionModeControl,
MainBG UnityEngine.Texture2D
MusicBG UnityEngine.Texture2D
MusicMenu GameObject
MusicOff GameObject
MusicOn GameObject
MusicState UnityEngine.UI.RawImage
MusicStateOff UnityEngine.Texture2D
MusicStateOn UnityEngine.Texture2D
Music_Cancel GameObject
QuitBG UnityEngine.Texture2D
QuitMenu GameObject
QuitNo GameObject
QuitYes GameObject
RestoreBG UnityEngine.Texture2D
RestoreMenu GameObject
RestoreSlot_0 GameObject
RestoreSlot_1 GameObject
RestoreSlot_2 GameObject
RestoreSlot_3 GameObject
Restore_Cancel GameObject
Restore_State GameObject
ReturnMenu GameObject
SaveBG UnityEngine.Texture2D
SaveMenu GameObject
SaveSlot_0 GameObject
SaveSlot_1 GameObject
SaveSlot_2 GameObject
SaveSlot_3 GameObject
Save_Cancel GameObject
SoundBG Texture2D
SoundMenu GameObject
SoundOff GameObject
SoundOn GameObject
SoundState RawImage
SoundStateOff Texture2D
SoundStateOn Texture2D
Sound_Cancel GameObject
Sound_Label GameObject
test GameObject

Public Methods

Method Description
ButtonClickOptionsMenu ( int index ) : void
DisplaySaves ( ) : void
SetDetail ( int DetailLevel ) : void

Sets the detail level

initMenu ( ) : void

Private Methods

Method Description
BeginSaveToSlot ( int slotNo ) : void

Begins the save to slot process

OnGUI ( ) : void
OptionDetail ( ) : void
OptionMusic ( ) : void
OptionQuit ( ) : void
OptionQuitNo ( ) : void

Cancels Quit

OptionQuitYes ( ) : void

Confirms quitting.

OptionRestore ( ) : void
OptionSave ( ) : void
OptionSound ( ) : void
RestoreFromSlot ( int slotNo ) : void

Restores save game from slot.

ReturnToGame ( ) : void
ToggleMusic ( bool state ) : void

Toggles the music.

ToggleSound ( bool state ) : void

Toggles the sound.

Method Details

ButtonClickOptionsMenu() public method

public ButtonClickOptionsMenu ( int index ) : void
index int
return void

DisplaySaves() public method

public DisplaySaves ( ) : void
return void

SetDetail() public method

Sets the detail level
public SetDetail ( int DetailLevel ) : void
DetailLevel int Detail level.
return void

initMenu() public method

public initMenu ( ) : void
return void

Property Details

DetailBG public_oe property

public Texture2D,UnityEngine DetailBG
return UnityEngine.Texture2D

DetailBest public_oe property

public GameObject DetailBest
return GameObject

DetailHi public_oe property

public GameObject DetailHi
return GameObject

DetailLow public_oe property

public GameObject DetailLow
return GameObject

DetailMed public_oe property

public GameObject DetailMed
return GameObject

DetailMenu public_oe property

public GameObject DetailMenu
return GameObject

DetailState public_oe property

public RawImage,UnityEngine.UI DetailState
return UnityEngine.UI.RawImage

DetailStateBest public_oe property

public Texture2D,UnityEngine DetailStateBest
return UnityEngine.Texture2D

DetailStateHi public_oe property

public Texture2D,UnityEngine DetailStateHi
return UnityEngine.Texture2D

DetailStateLow public_oe property

public Texture2D,UnityEngine DetailStateLow
return UnityEngine.Texture2D

DetailStateMed public_oe property

public Texture2D,UnityEngine DetailStateMed
return UnityEngine.Texture2D

Detail_Cancel public_oe property

public GameObject Detail_Cancel
return GameObject

DisplayBG public_oe property

public RawImage,UnityEngine.UI DisplayBG
return UnityEngine.UI.RawImage

InteractionMenu public_oe property

public InteractionModeControl, InteractionMenu
return InteractionModeControl,

MainBG public_oe property

public Texture2D,UnityEngine MainBG
return UnityEngine.Texture2D

MusicBG public_oe property

public Texture2D,UnityEngine MusicBG
return UnityEngine.Texture2D

MusicMenu public_oe property

public GameObject MusicMenu
return GameObject

MusicOff public_oe property

public GameObject MusicOff
return GameObject

MusicOn public_oe property

public GameObject MusicOn
return GameObject

MusicState public_oe property

public RawImage,UnityEngine.UI MusicState
return UnityEngine.UI.RawImage

MusicStateOff public_oe property

public Texture2D,UnityEngine MusicStateOff
return UnityEngine.Texture2D

MusicStateOn public_oe property

public Texture2D,UnityEngine MusicStateOn
return UnityEngine.Texture2D

Music_Cancel public_oe property

public GameObject Music_Cancel
return GameObject

QuitBG public_oe property

public Texture2D,UnityEngine QuitBG
return UnityEngine.Texture2D

QuitMenu public_oe property

public GameObject QuitMenu
return GameObject

QuitNo public_oe property

public GameObject QuitNo
return GameObject

QuitYes public_oe property

public GameObject QuitYes
return GameObject

RestoreBG public_oe property

public Texture2D,UnityEngine RestoreBG
return UnityEngine.Texture2D

RestoreMenu public_oe property

public GameObject RestoreMenu
return GameObject

RestoreSlot_0 public_oe property

public GameObject RestoreSlot_0
return GameObject

RestoreSlot_1 public_oe property

public GameObject RestoreSlot_1
return GameObject

RestoreSlot_2 public_oe property

public GameObject RestoreSlot_2
return GameObject

RestoreSlot_3 public_oe property

public GameObject RestoreSlot_3
return GameObject

Restore_Cancel public_oe property

public GameObject Restore_Cancel
return GameObject

Restore_State public_oe property

public GameObject Restore_State
return GameObject

ReturnMenu public_oe property

public GameObject ReturnMenu
return GameObject

SaveBG public_oe property

public Texture2D,UnityEngine SaveBG
return UnityEngine.Texture2D

SaveMenu public_oe property

public GameObject SaveMenu
return GameObject

SaveSlot_0 public_oe property

public GameObject SaveSlot_0
return GameObject

SaveSlot_1 public_oe property

public GameObject SaveSlot_1
return GameObject

SaveSlot_2 public_oe property

public GameObject SaveSlot_2
return GameObject

SaveSlot_3 public_oe property

public GameObject SaveSlot_3
return GameObject

Save_Cancel public_oe property

public GameObject Save_Cancel
return GameObject

SoundBG public_oe property

public Texture2D SoundBG
return Texture2D

SoundMenu public_oe property

public GameObject SoundMenu
return GameObject

SoundOff public_oe property

public GameObject SoundOff
return GameObject

SoundOn public_oe property

public GameObject SoundOn
return GameObject

SoundState public_oe property

public RawImage SoundState
return RawImage

SoundStateOff public_oe property

public Texture2D SoundStateOff
return Texture2D

SoundStateOn public_oe property

public Texture2D SoundStateOn
return Texture2D

Sound_Cancel public_oe property

public GameObject Sound_Cancel
return GameObject

Sound_Label public_oe property

public GameObject Sound_Label
return GameObject

test public_oe property

public GameObject test
return GameObject