Cinematics

Overview

The Cinematics extension allows you to create simple, yet powerful, cinematic sequences for your game. It works by adding any number of “cinematic targets” to its editor and defining the parameters for each. You can then play or stop the cinematics at any time during your game and the camera will smoothly transition from its regular targets into the sequence and vice-versa.
In case you want to have multiple cinematics on your scene, you simply have to add multiple ProCamera2DCinematics components to your camera. For an example on how to achieve this see the TopDownShooter example included in the package.

Editor

Parameters:

Cinematic Targets: The targets the camera will follow during the cinematic

End Duration (>= 0): How long it takes the cinematic to stop and the camera to return its regular targets

End Ease Type: The animation type of the stop transition

Use Numeric Boundaries: If enabled, the camera will be limited by the numeric boundaries if existent

Use Letterbox: If enabled, the camera will show bars on top and bottom during the cinematic sequence

Letterbox Amount (0 - .5): The size of the top and bottom letterbox bars

Letterbox Anim Duration: The time it takes for the letterbox bars to appear and disappear

Letterbox Color: The color of the letterbox bars

Cinematic Target Parameters:

Target: The Transform component of the target

Ease Type: The animation type of the camera movement to reach the target

Ease In Duration (>= 0): The time it takes for the camera to reach the target

Hold Duration: The time the camera follows the target. If below 0, you’ll have to manually move to the next target by using the GoToNextTarget method

Zoom: The zoom the camera should make while following the target. Use 1 for no zoom

SendMessage Name: The method name that will be called when the target is reached

SendMessage Param: The parameter that will be sent when the above method is called