#7 Make an Air Hockey Game in Unity – WIN / LOSE (Code)

0  comments

In this part of the air hockey tutorial series, we will add a win and loose situation (game over screen) when we hit a certain amount of goals. This means that we will be working a lot with the Unity UI, so stop wasting time and let’s go straight to the video! πŸ˜‰

 

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

UiManager.cs

 

AudioManager.cs

 

ScoreScript.cs

 

PuckScript.cs

 

PlayerMovement.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 πŸ’ͺ

You may also like

Flutter Bloc & Cubit Tutorial

Flutter Custom & Staggered Page Transition Animation Tutorial

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