TopDown Engine v5.0
Loading...
Searching...
No Matches
MoreMountains.TopDownEngine.GrasslandHUD Class Reference
Inheritance diagram for MoreMountains.TopDownEngine.GrasslandHUD:
MoreMountains.TopDownEngine.TopDownMonoBehaviour MoreMountains.Tools.MMEventListener< T > MoreMountains.Tools.MMMonoBehaviour MoreMountains.Tools.MMEventListenerBase

Public Member Functions

virtual void OnMMEvent (TopDownEngineEvent tdEvent)
Public Member Functions inherited from MoreMountains.Tools.MMEventListener< T >
void OnMMEvent (T eventType)

Public Attributes

string PlayerID = "Player1"
 The playerID associated to this HUD.
MMProgressBar HealthBar
 the progress bar to use to show the healthbar
Text PlayerName
 the Text comp to use to display the player name
MMProgressBar AvatarBar
 the radial progress bar to put around the avatar
Text CoinCounter
 the counter used to display coin amounts
CanvasGroup DeadMask
 the mask to use when the target player dies
CanvasGroup WinnerScreen
 the screen to display if the target player wins

Protected Member Functions

virtual void Start ()
virtual void OnEnable ()
 OnDisable, we start listening to events.
virtual void OnDisable ()
 OnDisable, we stop listening to events.

Member Function Documentation

◆ OnDisable()

virtual void MoreMountains.TopDownEngine.GrasslandHUD.OnDisable ( )
protectedvirtual

OnDisable, we stop listening to events.

◆ OnEnable()

virtual void MoreMountains.TopDownEngine.GrasslandHUD.OnEnable ( )
protectedvirtual

OnDisable, we start listening to events.

◆ OnMMEvent()

virtual void MoreMountains.TopDownEngine.GrasslandHUD.OnMMEvent ( TopDownEngineEvent tdEvent)
virtual

◆ Start()

virtual void MoreMountains.TopDownEngine.GrasslandHUD.Start ( )
protectedvirtual

Member Data Documentation

◆ AvatarBar

MMProgressBar MoreMountains.TopDownEngine.GrasslandHUD.AvatarBar

the radial progress bar to put around the avatar

◆ CoinCounter

Text MoreMountains.TopDownEngine.GrasslandHUD.CoinCounter

the counter used to display coin amounts

◆ DeadMask

CanvasGroup MoreMountains.TopDownEngine.GrasslandHUD.DeadMask

the mask to use when the target player dies

◆ HealthBar

MMProgressBar MoreMountains.TopDownEngine.GrasslandHUD.HealthBar

the progress bar to use to show the healthbar

◆ PlayerID

string MoreMountains.TopDownEngine.GrasslandHUD.PlayerID = "Player1"

The playerID associated to this HUD.

◆ PlayerName

Text MoreMountains.TopDownEngine.GrasslandHUD.PlayerName

the Text comp to use to display the player name

◆ WinnerScreen

CanvasGroup MoreMountains.TopDownEngine.GrasslandHUD.WinnerScreen

the screen to display if the target player wins


The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/Demos/Grasslands/Scripts/GrasslandHUD.cs