8.3 KiB
Samples and tutorials
Several sample scenes and video tutorials are available in addition to this documentation to demonstrate how to use the Cinemachine features in real-world scenarios.
Sample scenes
The Cinemachine package includes sample scenes that you can import to your project to discover many Cinemachine features in different contexts of use.
2D Samples
Once you import the 2D Samples set, the following scenes are available in the Assets/Samples/Cinemachine/<version number>/2D Samples folder.
| Sample scene | Use cases and key features |
|---|---|
| 2D Fighters |
|
| 2D Platformer |
|
| Camera Magnets |
|
3D Samples
Once you import the 3D Samples set, the following scenes are available in the Assets/Samples/Cinemachine/<version number>/3D Samples folder.
| Sample scene | Use cases and key features |
|---|---|
| Brain Update Modes |
|
| Clear Shot |
|
| Cutscene |
|
| Early LookAt Custom Blend |
|
| Fly around |
|
| FreeLook Deoccluder |
|
| FreeLook on Spherical Surface |
|
| Impulse Wave |
|
| Lock-on Target |
|
| Mixing Camera |
|
| Perspective To Ortho Custom Blend |
|
| Portals |
|
| Running Race |
|
| Split Screen Car |
|
| Third Person With Aim Mode |
|
| Third Person With Roadie Run |
|
Input System Samples
Once you import the Input System Samples set, the following scene is available in the Assets/Samples/Cinemachine/<version number>/Input System Samples folder.
| Sample scene | Use cases and key features |
|---|---|
| Split Screen Multiplayer |
|
Simple Player Controller
Several of the samples listed above make use of Cinemachine's Simple Player Controller, a basic but versatile player controller that you can use in your own projects. It is a suite of scripts that you can combine and configure to create character controllers which you can use in different contexts to implement several types of character movement.
Tutorials
A series of "Cinemachine 3.1 Tutorials" is available online in Unity's official YouTube channel. Discover various Cinemachine use cases and watch the immediate effects resulting from the corresponding project setup.
| Video | Description |
|---|---|
| Types of Cinemachine cameras | Get started with Cinemachine 3.1 and discover the types of cameras you can use: Follow Camera, Third Person Aim extension, FreeLook Camera, Spline Dolly, Sequencer Camera, and more. |
| Cinemachine and Timeline | Combine Cinemachine with Timeline to create complex animated sequences directly in Unity. Set up shots and animations, activate and deactivate sequences, camera events, depth of field blurs, and more. |
| Cinemachine 2D cameras | Use Cinemachine cameras for 2D games. Set up confiners to keep the camera within gameplay boundaries, trigger events for 2D camera zoom, and use the camera shake feature. |
| Cinemachine player controller cameras | Explore the different types of Cinemachine cameras you can use to track your playable characters. Switch between camera types, add object avoidance to ensure the camera does not clip through walls. Learn how to use the Deoccluder extension, the Clear Shot component, and more. |
| Cinemachine tips and tricks | Learn tips to work efficiently with Cinemachine 3.1 in your projects. Fix jitters in object movement, make a FreeLook Camera rotate in real time around a character in slow motion, use the FreeLook Modifier component, and work with the Cinemachine Target Group component to track multiple characters. |