#11 Make an Air Hockey Game in Unity – DIFFICULTY SELECTOR (Code)

Playing air hockey is fun – until you loose again and again! Wouldn’t it be nice if we could have easy, medium and hard difficulty so that everyone will have the ability to choose how quick their opponent will be?

In this tutorial you will learn how to add a difficulty system into your game and also how to create a basic UI with toggles and a toggle group.

This post contains all the code that’s been written in this YouTube video.

IResettable.cs

 

GameValues.cs

 

MenuManager.cs

 

AiScript.cs

 

About the author 

Matt ReΕ‘etΓ‘r

Matt is an app developer with a knack for teaching others. Working as a Flutter 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 🎸

You may also like

Flutter Firebase & DDD Course [5] – Sign-In Form Logic

Dio Connectivity Retry Interceptor – Flutter Tutorial

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>