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

This class handles a X-players split screen setup More...

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

Public Member Functions

virtual void OnMMEvent (MMGameEvent gameEvent)
 When the cameras are ready to be bound (we're being told so by the LevelManager usually), we bind them More...
 
- Public Member Functions inherited from MoreMountains.Tools.MMEventListener< MMGameEvent >
void OnMMEvent (T eventType)
 

Public Attributes

List< CinemachineCameraControllerCameraControllers
 the list of camera controllers to bind to level manager players on load More...
 

Protected Member Functions

virtual void BindCameras ()
 Binds each camera controller to its target More...
 
virtual void OnEnable ()
 On enable we start listening for game events More...
 
virtual void OnDisable ()
 On disable we stop listening for game events More...
 

Detailed Description

This class handles a X-players split screen setup

Member Function Documentation

◆ BindCameras()

virtual void MoreMountains.TopDownEngine.MultiplayerSplitCameraRig.BindCameras ( )
protectedvirtual

Binds each camera controller to its target

◆ OnDisable()

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

On disable we stop listening for game events

◆ OnEnable()

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

On enable we start listening for game events

◆ OnMMEvent()

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

When the cameras are ready to be bound (we're being told so by the LevelManager usually), we bind them

Parameters
gameEvent

Member Data Documentation

◆ CameraControllers

List<CinemachineCameraController> MoreMountains.TopDownEngine.MultiplayerSplitCameraRig.CameraControllers

the list of camera controllers to bind to level manager players on load


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