C# Class BuildingGUIController, WoofVsMeow

Inheritance: MonoBehaviour
Exibir arquivo Open project: HaoYuan90/WoofVsMeow

Public Properties

Property Type Description
m_addUnitTex UnityEngine.Texture2D
m_buttonStyle GUIStyle
m_endTex UnityEngine.Texture2D
m_tooltipStyle GUIStyle
m_unitIcons List
m_unitNames List
m_upgradeTex Texture2D

Public Methods

Method Description
DisableGUI ( ) : void
EnableGUI ( ) : void
InitGUI ( ) : void
Initialise ( int hp, int max ) : void
OnGUI ( ) : void
OnGoldChangeBy ( int amt ) : void
OnHealthLostBy ( int amt ) : void
ResetHealth ( ) : void

Private Methods

Method Description
DisplayFloatingText ( string msg ) : void

Method Details

DisableGUI() public method

public DisableGUI ( ) : void
return void

EnableGUI() public method

public EnableGUI ( ) : void
return void

InitGUI() public method

public InitGUI ( ) : void
return void

Initialise() public method

public Initialise ( int hp, int max ) : void
hp int
max int
return void

OnGUI() public method

public OnGUI ( ) : void
return void

OnGoldChangeBy() public method

public OnGoldChangeBy ( int amt ) : void
amt int
return void

OnHealthLostBy() public method

public OnHealthLostBy ( int amt ) : void
amt int
return void

ResetHealth() public method

public ResetHealth ( ) : void
return void

Property Details

m_addUnitTex public_oe property

public Texture2D,UnityEngine m_addUnitTex
return UnityEngine.Texture2D

m_buttonStyle public_oe property

public GUIStyle m_buttonStyle
return GUIStyle

m_endTex public_oe property

public Texture2D,UnityEngine m_endTex
return UnityEngine.Texture2D

m_tooltipStyle public_oe property

public GUIStyle m_tooltipStyle
return GUIStyle

m_unitIcons public_oe property

public List m_unitIcons
return List

m_unitNames public_oe property

public List m_unitNames
return List

m_upgradeTex public_oe property

public Texture2D m_upgradeTex
return Texture2D