TopDown Engine v4.5
Loading...
Searching...
No Matches
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< T > MoreMountains.Tools.MMMonoBehaviour MoreMountains.Tools.MMEventListenerBase

Public Member Functions

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

Public Attributes

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

Protected Member Functions

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

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: