A collection of tools for use with Unity's Cinemachine
Adds a onCameraBlendCompleteEvent to the CinemachineBrain specified.
- Add a
CinemachineBrainHelpercomponent to a GameObject. - Drag & drag the
CinemachineBrainyou want to recieveonCameraBlendCompleteEventevents for in to theCinemachineBrainHelper.cinemachineBrainfield. - Hook in to the event by either utilizing the editor (Similiar to
CinemachineBrainevents) 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.