C# Class OptionsMenuControl, UnderworldExporter

Controls the ingame options menu
Inheritance: GuiBase_Draggable
Show 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 property

public Texture2D,UnityEngine DetailBG
return UnityEngine.Texture2D

DetailBest public property

public GameObject DetailBest
return GameObject

DetailHi public property

public GameObject DetailHi
return GameObject

DetailLow public property

public GameObject DetailLow
return GameObject

DetailMed public property

public GameObject DetailMed
return GameObject

DetailMenu public property

public GameObject DetailMenu
return GameObject

DetailState public property

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

DetailStateBest public property

public Texture2D,UnityEngine DetailStateBest
return UnityEngine.Texture2D

DetailStateHi public property

public Texture2D,UnityEngine DetailStateHi
return UnityEngine.Texture2D

DetailStateLow public property

public Texture2D,UnityEngine DetailStateLow
return UnityEngine.Texture2D

DetailStateMed public property

public Texture2D,UnityEngine DetailStateMed
return UnityEngine.Texture2D

Detail_Cancel public property

public GameObject Detail_Cancel
return GameObject

DisplayBG public property

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

InteractionMenu public property

public InteractionModeControl, InteractionMenu
return InteractionModeControl,

MainBG public property

public Texture2D,UnityEngine MainBG
return UnityEngine.Texture2D

MusicBG public property

public Texture2D,UnityEngine MusicBG
return UnityEngine.Texture2D

MusicMenu public property

public GameObject MusicMenu
return GameObject

MusicOff public property

public GameObject MusicOff
return GameObject

MusicOn public property

public GameObject MusicOn
return GameObject

MusicState public property

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

MusicStateOff public property

public Texture2D,UnityEngine MusicStateOff
return UnityEngine.Texture2D

MusicStateOn public property

public Texture2D,UnityEngine MusicStateOn
return UnityEngine.Texture2D

Music_Cancel public property

public GameObject Music_Cancel
return GameObject

QuitBG public property

public Texture2D,UnityEngine QuitBG
return UnityEngine.Texture2D

QuitMenu public property

public GameObject QuitMenu
return GameObject

QuitNo public property

public GameObject QuitNo
return GameObject

QuitYes public property

public GameObject QuitYes
return GameObject

RestoreBG public property

public Texture2D,UnityEngine RestoreBG
return UnityEngine.Texture2D

RestoreMenu public property

public GameObject RestoreMenu
return GameObject

RestoreSlot_0 public property

public GameObject RestoreSlot_0
return GameObject

RestoreSlot_1 public property

public GameObject RestoreSlot_1
return GameObject

RestoreSlot_2 public property

public GameObject RestoreSlot_2
return GameObject

RestoreSlot_3 public property

public GameObject RestoreSlot_3
return GameObject

Restore_Cancel public property

public GameObject Restore_Cancel
return GameObject

Restore_State public property

public GameObject Restore_State
return GameObject

ReturnMenu public property

public GameObject ReturnMenu
return GameObject

SaveBG public property

public Texture2D,UnityEngine SaveBG
return UnityEngine.Texture2D

SaveMenu public property

public GameObject SaveMenu
return GameObject

SaveSlot_0 public property

public GameObject SaveSlot_0
return GameObject

SaveSlot_1 public property

public GameObject SaveSlot_1
return GameObject

SaveSlot_2 public property

public GameObject SaveSlot_2
return GameObject

SaveSlot_3 public property

public GameObject SaveSlot_3
return GameObject

Save_Cancel public property

public GameObject Save_Cancel
return GameObject

SoundBG public property

public Texture2D SoundBG
return Texture2D

SoundMenu public property

public GameObject SoundMenu
return GameObject

SoundOff public property

public GameObject SoundOff
return GameObject

SoundOn public property

public GameObject SoundOn
return GameObject

SoundState public property

public RawImage SoundState
return RawImage

SoundStateOff public property

public Texture2D SoundStateOff
return Texture2D

SoundStateOn public property

public Texture2D SoundStateOn
return Texture2D

Sound_Cancel public property

public GameObject Sound_Cancel
return GameObject

Sound_Label public property

public GameObject Sound_Label
return GameObject

test public property

public GameObject test
return GameObject