Shake Detecion for Mobile Devices in Unity (Android, iOS)

How do you detect shakes in Unity? Simple! In this tutorial you will learn how to do it by creating a simple shaking game.

 

ShakeDetector.cs

 

PhysicsController.cs

 

Matt Rešetár
 

Matt is an app developer with a knack for teaching others. Working as a senior software developer at HandCash, freelancer and most importantly developer educator, he doesn't have a lot of free time 😅 Yet he still manages to squeeze in tough workouts 💪 and guitar 🎸

>