A collection of tools for use with Unity's Cinemachine
Adds a onCameraBlendCompleteEvent
to the CinemachineBrain
specified.
- Add a
CinemachineBrainHelper
component to a GameObject. - Drag & drag the
CinemachineBrain
you want to recieveonCameraBlendCompleteEvent
events for in to theCinemachineBrainHelper.cinemachineBrain
field. - Hook in to the event by either utilizing the editor (Similiar to
CinemachineBrain
events) or in code usingonCameraBlendCompleteEvent.AddListener
.
Simplifies events coming from both Cinemachinebrain
& CinemachineBrainHelper
by only passing along one camera instead of two.
Events Included
onCameraBlendToCompleteEvent(blendedToCamera: ICinemachineCamera)
onCameraBlendFromCompleteEvent(blendedFromCamera: ICinemachineCamera)
onCameraActivatedToEvent(activatedToCamera: ICinemachineCamera)
onCameraActivatedFromEvent(activatedFromCamera: ICinemachineCamera)
See Cinemachine Brain Helper Quick Start.