C# Class UWHUD, UnderworldExporter

Class for referencing other hud elements without having to search for them all the time.
Inheritance: HUD
Show file Open project: hankmorgan/UnderworldExporter Class Usage Examples

Public Properties

Property Type Description
ChainsControl chains,
ContainerOpened GameObject
ContextMenu Text
ConversationPanel GameObject
ConversationPortraits UnityEngine.UI.RawImage[]
Conversation_tl ScrollController,
CutScenesSmall CutsceneAnimation,
CutsceneFullPanel GameObject
CutsceneSmallPanel GameObject
DragonLeftPanel GameObject
DragonRightPanel GameObject
Encumberance Text
InventoryPanel GameObject
LevelNoDisplay Text
MapEraser UnityEngine.Texture2D
MapPanel GameObject
MapQuill UnityEngine.Texture2D
MapQuillWriting UnityEngine.Texture2D
NPCName Text
PCName Text
PaperDollFemalePanel GameObject
PaperDollMalePanel GameObject
RuneBagPanel GameObject
StatsDisplayPanel GameObject
activeRunes ActiveRuneSlot[],
currentPanel GameObject
instance UWHUD,
isRotating bool
mainmenu MainMenuHud,
npcTrade TradeSlot[],
playerBody UnityEngine.UI.RawImage
playerTrade TradeSlot[],
runes RuneSlot[],
window WindowDetectUW,

Public Methods

Method Description
Awake ( ) : void
EnableDisableControl ( GameObject control, bool targetState ) : void

Enables or disables a control.

RefreshPanels ( int ActivePanelMode ) : void

Refreshs the panels depending on the active mode

Start ( ) : void
UpdatePanelStates ( ) : void

Updates the panel states as needed.

Private Methods

Method Description
RotatePanels ( GameObject fromPanel, GameObject toPanel ) : IEnumerator

Rotates the inventory panels around.

Method Details

Awake() public method

public Awake ( ) : void
return void

EnableDisableControl() public method

Enables or disables a control.
public EnableDisableControl ( GameObject control, bool targetState ) : void
control GameObject Control.
targetState bool If set to true target state.
return void

RefreshPanels() public method

Refreshs the panels depending on the active mode
public RefreshPanels ( int ActivePanelMode ) : void
ActivePanelMode int Active panel mode.
return void

Start() public method

public Start ( ) : void
return void

UpdatePanelStates() public method

Updates the panel states as needed.
public UpdatePanelStates ( ) : void
return void

Property Details

ChainsControl public property

public chains, ChainsControl
return chains,

ContainerOpened public property

public GameObject ContainerOpened
return GameObject

ContextMenu public property

public Text ContextMenu
return Text

ConversationPanel public property

public GameObject ConversationPanel
return GameObject

ConversationPortraits public property

public RawImage[],UnityEngine.UI ConversationPortraits
return UnityEngine.UI.RawImage[]

Conversation_tl public property

public ScrollController, Conversation_tl
return ScrollController,

CutScenesSmall public property

public CutsceneAnimation, CutScenesSmall
return CutsceneAnimation,

CutsceneFullPanel public property

public GameObject CutsceneFullPanel
return GameObject

CutsceneSmallPanel public property

public GameObject CutsceneSmallPanel
return GameObject

DragonLeftPanel public property

public GameObject DragonLeftPanel
return GameObject

DragonRightPanel public property

public GameObject DragonRightPanel
return GameObject

Encumberance public property

public Text Encumberance
return Text

InventoryPanel public property

public GameObject InventoryPanel
return GameObject

LevelNoDisplay public property

public Text LevelNoDisplay
return Text

MapEraser public property

public Texture2D,UnityEngine MapEraser
return UnityEngine.Texture2D

MapPanel public property

public GameObject MapPanel
return GameObject

MapQuill public property

public Texture2D,UnityEngine MapQuill
return UnityEngine.Texture2D

MapQuillWriting public property

public Texture2D,UnityEngine MapQuillWriting
return UnityEngine.Texture2D

NPCName public property

public Text NPCName
return Text

PCName public property

public Text PCName
return Text

PaperDollFemalePanel public property

public GameObject PaperDollFemalePanel
return GameObject

PaperDollMalePanel public property

public GameObject PaperDollMalePanel
return GameObject

RuneBagPanel public property

public GameObject RuneBagPanel
return GameObject

StatsDisplayPanel public property

public GameObject StatsDisplayPanel
return GameObject

activeRunes public property

public ActiveRuneSlot[], activeRunes
return ActiveRuneSlot[],

currentPanel public property

public GameObject currentPanel
return GameObject

instance public static property

public static UWHUD, instance
return UWHUD,

isRotating public property

public bool isRotating
return bool

mainmenu public property

public MainMenuHud, mainmenu
return MainMenuHud,

npcTrade public property

public TradeSlot[], npcTrade
return TradeSlot[],

playerBody public property

public RawImage,UnityEngine.UI playerBody
return UnityEngine.UI.RawImage

playerTrade public property

public TradeSlot[], playerTrade
return TradeSlot[],

runes public property

public RuneSlot[], runes
return RuneSlot[],

window public property

public WindowDetectUW, window
return WindowDetectUW,