TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.TopDownEngine.TopDownCinemachineZone2D Class Reference

Add this class to a box collider 2D and it'll let you define a zone that, when entered, enables a virtual camera, letting you define sections inside your level easily. More...

Inheritance diagram for MoreMountains.TopDownEngine.TopDownCinemachineZone2D:

Public Attributes

bool RequiresPlayerCharacter = true
 if this is true, the zone will require colliders that want to trigger it to have a Character components of type Player

Protected Attributes

CinemachineCameraController _cinemachineCameraController
Character _character

Detailed Description

Add this class to a box collider 2D and it'll let you define a zone that, when entered, enables a virtual camera, letting you define sections inside your level easily.

Member Data Documentation

◆ _character

Character MoreMountains.TopDownEngine.TopDownCinemachineZone2D._character
protected

◆ _cinemachineCameraController

CinemachineCameraController MoreMountains.TopDownEngine.TopDownCinemachineZone2D._cinemachineCameraController
protected

◆ RequiresPlayerCharacter

bool MoreMountains.TopDownEngine.TopDownCinemachineZone2D.RequiresPlayerCharacter = true

if this is true, the zone will require colliders that want to trigger it to have a Character components of type Player


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