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

Automatically grabs a Cinemachine camera group and assigns LevelManager's players on load and makes a Cinemachine Virtual Camera follow that target More...

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

Public Member Functions

virtual void OnMMEvent (MMGameEvent gameEvent)
 On load, we bind the characters to the target group and have the virtual cam follow that target group More...
 
virtual void OnMMEvent (TopDownEngineEvent tdEvent)
 
- Public Member Functions inherited from MoreMountains.Tools.MMEventListener< MMGameEvent >
void OnMMEvent (T eventType)
 
- Public Member Functions inherited from MoreMountains.Tools.MMEventListener< TopDownEngineEvent >
void OnMMEvent (T eventType)
 

Protected Member Functions

virtual void Awake ()
 On Awake we grab our target group component More...
 
virtual void OnEnable ()
 Starts listening for game events More...
 
virtual void OnDisable ()
 Stops listening for game events More...
 

Detailed Description

Automatically grabs a Cinemachine camera group and assigns LevelManager's players on load and makes a Cinemachine Virtual Camera follow that target

Member Function Documentation

◆ Awake()

virtual void MoreMountains.TopDownEngine.MultiplayerCameraGroupTarget.Awake ( )
protectedvirtual

On Awake we grab our target group component

◆ OnDisable()

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

Stops listening for game events

◆ OnEnable()

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

Starts listening for game events

◆ OnMMEvent() [1/2]

virtual void MoreMountains.TopDownEngine.MultiplayerCameraGroupTarget.OnMMEvent ( MMGameEvent  gameEvent)
virtual

On load, we bind the characters to the target group and have the virtual cam follow that target group

Parameters
gameEvent

◆ OnMMEvent() [2/2]

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

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