C# 클래스 GameGUIManager, tf_client

Manager for in-game GUI
상속: MonoBehaviour
파일 보기 프로젝트 열기: wids-eria/tf_client 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SystemIsBusy bool
clearResourceTileSelectionIcon UnityEngine.Texture2D
cursorSize float
deselectResourceTileIconOff UnityEngine.Texture2D
deselectResourceTileIconOn UnityEngine.Texture2D
inactiveGUIFade float
paintCursorDeselect UnityEngine.Texture2D
paintCursorSelect Texture2D
panCursorDn Texture2D
panCursorUp Texture2D
panSelectionIconOff Texture2D
panSelectionIconOn Texture2D
selectResourceTileIconOff Texture2D
selectResourceTileIconOn Texture2D
styles GUIStyles
submitResourceTileSelectionIcon Texture2D

보호된 프로퍼티들

프로퍼티 타입 설명
m_guiObjects List

Private Properties

프로퍼티 타입 설명
Awake void
DownloadMinimap IEnumerator
OnDestroy void
OnGUI void
SetCursor void
SetInputSelection void
Start void
Update void

공개 메소드들

메소드 설명
AddGUIObject ( GUIObject, obj ) : void

Adds the GUI object.

DisplayLoadingIcon ( float progress ) : void

Displays the loading icon at the center of the screen.

DisplayLoadingIcon ( float progress, Vector2 position, Color color ) : void

Displays the loading icon at the specified position.

InitializeGUI ( ) : void

Initializes the GUI rects and styles.

IsCursorInGUI ( ) : bool

Is the mouse cursor in a GUI rect?

PlayInvalidActionSound ( ) : void

Plays the invalid action sound.

RemoveGUIObject ( GUIObject, obj ) : void

Removes the GUI object.

SetErrorMessage ( string msg ) : void

Sets the error message on the status line.

_ScreenResolutionChanged ( MessageScreenResolutionChanged, msg ) : void

Handle screen resolution change event.

보호된 메소드들

메소드 설명
InitGUIObjects ( ) : void

Inits the GUI objects.

비공개 메소드들

메소드 설명
Awake ( ) : void

Initialize

DownloadMinimap ( ) : IEnumerator

Downloads the minimap.

OnDestroy ( ) : void
OnGUI ( ) : void

Raises the GUI event.

SetCursor ( ) : void

Sets the cursor.

SetInputSelection ( int selection ) : void
Start ( ) : void

Start this instance.

Update ( ) : void

Update this instance.

메소드 상세

AddGUIObject() 공개 정적인 메소드

Adds the GUI object.
public static AddGUIObject ( GUIObject, obj ) : void
obj GUIObject, /// Object. ///
리턴 void

DisplayLoadingIcon() 공개 메소드

Displays the loading icon at the center of the screen.
public DisplayLoadingIcon ( float progress ) : void
progress float /// Normalized progress. ///
리턴 void

DisplayLoadingIcon() 공개 메소드

Displays the loading icon at the specified position.
public DisplayLoadingIcon ( float progress, Vector2 position, Color color ) : void
progress float /// Normalized progress. ///
position Vector2 /// Position. ///
color Color /// Color ///
리턴 void

InitGUIObjects() 보호된 메소드

Inits the GUI objects.
protected InitGUIObjects ( ) : void
리턴 void

InitializeGUI() 공개 메소드

Initializes the GUI rects and styles.
public InitializeGUI ( ) : void
리턴 void

IsCursorInGUI() 공개 메소드

Is the mouse cursor in a GUI rect?
public IsCursorInGUI ( ) : bool
리턴 bool

PlayInvalidActionSound() 공개 메소드

Plays the invalid action sound.
public PlayInvalidActionSound ( ) : void
리턴 void

RemoveGUIObject() 공개 정적인 메소드

Removes the GUI object.
public static RemoveGUIObject ( GUIObject, obj ) : void
obj GUIObject, /// Object. ///
리턴 void

SetErrorMessage() 공개 메소드

Sets the error message on the status line.
public SetErrorMessage ( string msg ) : void
msg string /// Message. ///
리턴 void

_ScreenResolutionChanged() 공개 메소드

Handle screen resolution change event.
public _ScreenResolutionChanged ( MessageScreenResolutionChanged, msg ) : void
msg MessageScreenResolutionChanged, /// Message. ///
리턴 void

프로퍼티 상세

SystemIsBusy 공개적으로 프로퍼티

public bool SystemIsBusy
리턴 bool

clearResourceTileSelectionIcon 공개적으로 프로퍼티

The clear resource tile selection icon.
public Texture2D,UnityEngine clearResourceTileSelectionIcon
리턴 UnityEngine.Texture2D

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

The size of the cursor.
public static float cursorSize
리턴 float

deselectResourceTileIconOff 공개적으로 프로퍼티

The deselect resource tile icon off.
public Texture2D,UnityEngine deselectResourceTileIconOff
리턴 UnityEngine.Texture2D

deselectResourceTileIconOn 공개적으로 프로퍼티

The deselect resource tile icon on.
public Texture2D,UnityEngine deselectResourceTileIconOn
리턴 UnityEngine.Texture2D

inactiveGUIFade 공개적으로 프로퍼티

The fade amount for inactive GUI elements.
public float inactiveGUIFade
리턴 float

m_guiObjects 보호되어 있는 정적으로 프로퍼티

The m_gui objects.
protected static List m_guiObjects
리턴 List

paintCursorDeselect 공개적으로 프로퍼티

The paint cursor for deselecting.
public Texture2D,UnityEngine paintCursorDeselect
리턴 UnityEngine.Texture2D

paintCursorSelect 공개적으로 프로퍼티

The paint cursor for selecting.
public Texture2D paintCursorSelect
리턴 Texture2D

panCursorDn 공개적으로 프로퍼티

The pan cursor when the mouse button is down.
public Texture2D panCursorDn
리턴 Texture2D

panCursorUp 공개적으로 프로퍼티

The pan cursor when the mouse button is up.
public Texture2D panCursorUp
리턴 Texture2D

panSelectionIconOff 공개적으로 프로퍼티

The pan selection icon off.
public Texture2D panSelectionIconOff
리턴 Texture2D

panSelectionIconOn 공개적으로 프로퍼티

The pan selection icon on.
public Texture2D panSelectionIconOn
리턴 Texture2D

selectResourceTileIconOff 공개적으로 프로퍼티

The select resource tile icon off.
public Texture2D selectResourceTileIconOff
리턴 Texture2D

selectResourceTileIconOn 공개적으로 프로퍼티

The select resource tile icon on.
public Texture2D selectResourceTileIconOn
리턴 Texture2D

styles 공개적으로 프로퍼티

the collection of styles
public GUIStyles styles
리턴 GUIStyles

submitResourceTileSelectionIcon 공개적으로 프로퍼티

The submit resource tile selection icon.
public Texture2D submitResourceTileSelectionIcon
리턴 Texture2D