C# Class 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
Inheritance: MonoBehaviour
Afficher le fichier Open project: arcoelho01/astrochimps Class Usage Examples

Méthodes publiques

Свойство Type Description
height float
menuSkin UnityEngine.GUISkin
playerObject Transform

Méthodes publiques

Méthode Description
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

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

BuildExtractorMenuEnable() public méthode

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
Résultat void

BuildingInfoMenuEnable() public méthode

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
Résultat void

ClearInfoLabel() public méthode

Clear the text of the first label
public ClearInfoLabel ( ) : void
Résultat void

OnGUI() public méthode

public OnGUI ( ) : void
Résultat void

PatrolDroneMenu() public méthode

Shows the possible patrol route options.
public PatrolDroneMenu ( ) : void
Résultat void

PatrolDroneMenuEnable() public méthode

Enables the patrol route selection menu.
public PatrolDroneMenuEnable ( CBaseEntity, caller ) : void
caller CBaseEntity, /// Caller. ///
Résultat void

PlayerInfoMenu() public méthode

Shows info about the player status
public PlayerInfoMenu ( ) : void
Résultat void

PlayerInfoMenuEnable() public méthode

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
Résultat void

SetInfoLabel() public méthode

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
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

height public_oe property

public float height
Résultat float

menuSkin public_oe property

public GUISkin,UnityEngine menuSkin
Résultat UnityEngine.GUISkin

playerObject public_oe property

public Transform playerObject
Résultat Transform