A class that handles camera follow for Cinemachine powered cameras.
More...
|
| virtual bool | FollowsPlayer [get, set] |
| | True if the camera should follow the player.
|
A class that handles camera follow for Cinemachine powered cameras.
◆ Awake()
| virtual void MoreMountains.TopDownEngine.CinemachineCameraController.Awake |
( |
| ) |
|
|
protectedvirtual |
On Awake we grab our components.
◆ OnDisable()
| virtual void MoreMountains.TopDownEngine.CinemachineCameraController.OnDisable |
( |
| ) |
|
|
protectedvirtual |
◆ OnEnable()
| virtual void MoreMountains.TopDownEngine.CinemachineCameraController.OnEnable |
( |
| ) |
|
|
protectedvirtual |
◆ OnMMEvent() [1/2]
| virtual void MoreMountains.TopDownEngine.CinemachineCameraController.OnMMEvent |
( |
MMCameraEvent | cameraEvent | ) |
|
|
virtual |
◆ OnMMEvent() [2/2]
| virtual void MoreMountains.TopDownEngine.CinemachineCameraController.OnMMEvent |
( |
TopDownEngineEvent | topdownEngineEvent | ) |
|
|
virtual |
◆ RefreshPosition()
| virtual IEnumerator MoreMountains.TopDownEngine.CinemachineCameraController.RefreshPosition |
( |
| ) |
|
|
protectedvirtual |
◆ SetTarget()
| virtual void MoreMountains.TopDownEngine.CinemachineCameraController.SetTarget |
( |
Character | character | ) |
|
|
virtual |
◆ Start()
| virtual void MoreMountains.TopDownEngine.CinemachineCameraController.Start |
( |
| ) |
|
|
protectedvirtual |
On Start we assign our bounding volume.
◆ StartFollowing()
| virtual void MoreMountains.TopDownEngine.CinemachineCameraController.StartFollowing |
( |
| ) |
|
|
virtual |
◆ StartFollowingCo()
| virtual IEnumerator MoreMountains.TopDownEngine.CinemachineCameraController.StartFollowingCo |
( |
| ) |
|
|
protectedvirtual |
◆ StopFollowing()
| virtual void MoreMountains.TopDownEngine.CinemachineCameraController.StopFollowing |
( |
| ) |
|
|
virtual |
Stops following any target.
◆ _lastStopFollow
| int MoreMountains.TopDownEngine.CinemachineCameraController._lastStopFollow = -1 |
|
protected |
◆ ConfineCameraToLevelBounds
| bool MoreMountains.TopDownEngine.CinemachineCameraController.ConfineCameraToLevelBounds = true |
Whether to confine this camera to the level bounds, as defined in the LevelManager.
◆ FollowsAPlayer
| bool MoreMountains.TopDownEngine.CinemachineCameraController.FollowsAPlayer = true |
Whether or not this camera should follow a player.
◆ ListenToSetConfinerEvents
| bool MoreMountains.TopDownEngine.CinemachineCameraController.ListenToSetConfinerEvents = true |
If this is true, this confiner will listen to set confiner events.
◆ TargetCharacter
| Character MoreMountains.TopDownEngine.CinemachineCameraController.TargetCharacter |
the target character this camera should follow
◆ FollowsPlayer
| virtual bool MoreMountains.TopDownEngine.CinemachineCameraController.FollowsPlayer |
|
getset |
True if the camera should follow the player.
The documentation for this class was generated from the following file: