C# 클래스 GUIBottomMenu, astrochimps

Defines the basic GUI information on the bottom of the screen Basically, shows the name of the object where the mouse is over
상속: MonoBehaviour
파일 보기 프로젝트 열기: arcoelho01/astrochimps 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
height float
menuSkin UnityEngine.GUISkin
playerObject Transform

공개 메소드들

메소드 설명
Awake ( ) : void
BuildExtractorMenuEnable ( CBaseEntity, caller ) : void

Changes the menu type to show the menu for building an extractor

BuildingInfoMenuEnable ( CBuilding, caller ) : void

Shows the info of a building. If it has a monkey inside, show the GUI to get it out

ClearInfoLabel ( ) : void

Clear the text of the first label

OnGUI ( ) : void

PatrolDroneMenu ( ) : void

Shows the possible patrol route options.

PatrolDroneMenuEnable ( CBaseEntity, caller ) : void

Enables the patrol route selection menu.

PlayerInfoMenu ( ) : void

Shows info about the player status

PlayerInfoMenuEnable ( CBaseEntity, caller ) : void

Changes the menu type to show the player info

SetInfoLabel ( string stNewLabelText ) : void

Changes the text of the first label. Usually, it will show the unit's name

Start ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

BuildExtractorMenuEnable() 공개 메소드

Changes the menu type to show the menu for building an extractor
public BuildExtractorMenuEnable ( CBaseEntity, caller ) : void
caller CBaseEntity, The CBaseEntity component of the caller of this method
리턴 void

BuildingInfoMenuEnable() 공개 메소드

Shows the info of a building. If it has a monkey inside, show the GUI to get it out
public BuildingInfoMenuEnable ( CBuilding, caller ) : void
caller CBuilding, The CBuilding component of the caller of this method
리턴 void

ClearInfoLabel() 공개 메소드

Clear the text of the first label
public ClearInfoLabel ( ) : void
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

PatrolDroneMenu() 공개 메소드

Shows the possible patrol route options.
public PatrolDroneMenu ( ) : void
리턴 void

PatrolDroneMenuEnable() 공개 메소드

Enables the patrol route selection menu.
public PatrolDroneMenuEnable ( CBaseEntity, caller ) : void
caller CBaseEntity, /// Caller. ///
리턴 void

PlayerInfoMenu() 공개 메소드

Shows info about the player status
public PlayerInfoMenu ( ) : void
리턴 void

PlayerInfoMenuEnable() 공개 메소드

Changes the menu type to show the player info
public PlayerInfoMenuEnable ( CBaseEntity, caller ) : void
caller CBaseEntity, The CBaseEntity component of the caller of this method
리턴 void

SetInfoLabel() 공개 메소드

Changes the text of the first label. Usually, it will show the unit's name
public SetInfoLabel ( string stNewLabelText ) : void
stNewLabelText string A string with the new text for the first label
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

프로퍼티 상세

height 공개적으로 프로퍼티

public float height
리턴 float

menuSkin 공개적으로 프로퍼티

public GUISkin,UnityEngine menuSkin
리턴 UnityEngine.GUISkin

playerObject 공개적으로 프로퍼티

public Transform playerObject
리턴 Transform