C# 클래스 AquaSphereMini.HUD

This class is responsible for create and manage the HUD menu system. It uses multiple sub menus and show/activate the one based on which is the activate menu at the moment. The users must click on the corrsponting menu button in the hud to activate the submenu.
상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: fi-content2-games-platform/FIcontent.Gaming.Enabler.phenomobilecharactermanager

공개 프로퍼티들

프로퍼티 타입 설명
gpm Epigene.GAME.GameManager
hudOpen bool
uiManager Epigene.UI.UIManager

공개 메소드들

메소드 설명
BuildConstruction ( string param ) : void

Build a construction. This function is called when the user clicks on the "BUILD" button in the build selection panel. The function will change the icon to the selected consturction model and will hide the build panels. Parameter is the name of the button.

CloseAllSubmenus ( ) : void

Closes all submenus.

ProcessBuildEvent ( string eventId, string param ) : void
ProcessDialogEvent ( string _eventId, string _param ) : void

Function to check new events.

ProcessInitEvent ( string _eventId, string _param ) : void

Function to load in Library Files

ProcessScreenEvent ( string _eventId, string _param ) : void

Function to check new events.

ProcessStoreEvent ( string eventId, string data ) : void

Process store events

SetBalance ( string balance ) : void
Toggle ( string button ) : void

Toggles the specific Submenus depending on Button Name

비공개 메소드들

메소드 설명
Awake ( ) : void

LogCyan ( string _first, string _second ) : void
OnDisable ( ) : void

Disable the hud will remove registered ui elements

OnEnable ( ) : void

Enable the HUD will register ui elements

Start ( ) : void

Start up

메소드 상세

BuildConstruction() 공개 메소드

Build a construction. This function is called when the user clicks on the "BUILD" button in the build selection panel. The function will change the icon to the selected consturction model and will hide the build panels. Parameter is the name of the button.
public BuildConstruction ( string param ) : void
param string
리턴 void

CloseAllSubmenus() 공개 메소드

Closes all submenus.
public CloseAllSubmenus ( ) : void
리턴 void

ProcessBuildEvent() 공개 메소드

public ProcessBuildEvent ( string eventId, string param ) : void
eventId string
param string
리턴 void

ProcessDialogEvent() 공개 메소드

Function to check new events.
public ProcessDialogEvent ( string _eventId, string _param ) : void
_eventId string
_param string
리턴 void

ProcessInitEvent() 공개 메소드

Function to load in Library Files
public ProcessInitEvent ( string _eventId, string _param ) : void
_eventId string _event identifier.
_param string _param.
리턴 void

ProcessScreenEvent() 공개 메소드

Function to check new events.
public ProcessScreenEvent ( string _eventId, string _param ) : void
_eventId string
_param string
리턴 void

ProcessStoreEvent() 공개 메소드

Process store events
public ProcessStoreEvent ( string eventId, string data ) : void
eventId string
data string
리턴 void

SetBalance() 공개 메소드

public SetBalance ( string balance ) : void
balance string
리턴 void

Toggle() 공개 메소드

Toggles the specific Submenus depending on Button Name
public Toggle ( string button ) : void
button string Button.
리턴 void

프로퍼티 상세

gpm 공개적으로 프로퍼티

Player manager
public GameManager,Epigene.GAME gpm
리턴 Epigene.GAME.GameManager

hudOpen 공개적으로 정적으로 프로퍼티

This tells the camera is one of the submenus is open
public static bool hudOpen
리턴 bool

uiManager 공개적으로 프로퍼티

The user interface manager.
public UIManager,Epigene.UI uiManager
리턴 Epigene.UI.UIManager