TopDown Engine  v3.6
MoreMountains.TopDownEngine.ExplodudesWinnerScreen Class Reference

This class handles the display of a winner screen in the Explodudes demo scene More...

Inheritance diagram for MoreMountains.TopDownEngine.ExplodudesWinnerScreen:
MoreMountains.TopDownEngine.TopDownMonoBehaviour MoreMountains.Tools.MMEventListener< TopDownEngineEvent > MoreMountains.Tools.MMMonoBehaviour

Public Member Functions

virtual void OnMMEvent (TopDownEngineEvent tdEvent)
 On game over we display our winner screen if needed More...
 
- Public Member Functions inherited from MoreMountains.Tools.MMEventListener< TopDownEngineEvent >
void OnMMEvent (T eventType)
 

Public Attributes

string PlayerID = "Player1"
 the ID of the player we want this screen to appear for More...
 
CanvasGroup WinnerScreen
 the canvas group containing the winner screen More...
 

Protected Member Functions

virtual void Start ()
 On Start we make sure our screen is disabled More...
 
virtual void OnEnable ()
 OnDisable, we start listening to events. More...
 
virtual void OnDisable ()
 OnDisable, we stop listening to events. More...
 

Detailed Description

This class handles the display of a winner screen in the Explodudes demo scene

Member Function Documentation

◆ OnDisable()

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

OnDisable, we stop listening to events.

◆ OnEnable()

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

OnDisable, we start listening to events.

◆ OnMMEvent()

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

On game over we display our winner screen if needed

Parameters
tdEvent

◆ Start()

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

On Start we make sure our screen is disabled

Member Data Documentation

◆ PlayerID

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

the ID of the player we want this screen to appear for

◆ WinnerScreen

CanvasGroup MoreMountains.TopDownEngine.ExplodudesWinnerScreen.WinnerScreen

the canvas group containing the winner screen


The documentation for this class was generated from the following file: