Recentre the Camera on Key/Trigger Press Using Cinemachine (Unity Tutorial)

Опубликовано: 14 Октябрь 2025
на канале: Ketra Games
10,351
220

In this Unity tutorial we're going to look at how we can have the camera recentre when a key or the right trigger of the gamepad is pressed.

The project files are available to our patrons here:
►   / 60907637  

Want to follow along? This project is a good starting point
►   / 53286420  

Written instructions can be found here
►https://www.ketra-games.com/2022/01/r...

The final script can be found here
► https://dotnetfiddle.net/IfAcfL

Help support our work:
► Patreon:   / ketragames  
► Ko-fi: https://ko-fi.com/ketragames

Follow us:
► Ketra Games: http://www.ketra-games.com
► Patreon:   / ketragames  
► Twitter:   / ketragames  
► Facebook:   / ketragames  

Introduction - 0:00
Configuring the camera - 0:22
Setting up the Input Bindings - 0:49
Creating the Script to Recentre the Camera - 1:55
Summary - 03:43

#KetraGames #LearnUnity #UnityTutorials #UnityTips