GAME OVER Menu In Unity Tutorial

preview_player
Показать описание
A Game Over menu is actually incredibly simple, but how to implement one really can depend on the type of game your making.

With the approach discussed in this Unity Tutorial I'll cover how to use Events so regardless of the genre of your game and the condition of your "Game Over" you'll be able to adapt this to any project in a clean way.

Comment down below if you need any help understanding anything!

✨Want to support the channel?

➤SUBSCRIBE to not get a game over

~~

➤LIKE the video if you enjoyed, it really helps the channel!

We have channels to help you with your problems!

Thanks for watching!

#bmo #unity #tutorial
Рекомендации по теме
Комментарии
Автор

These videos are just so clear. This video has clicked a whole bunch of your other videos into place in my head and now I feel I have events clarified in a context I needed. My game is already much cleaner through your tutorials. So thank you

alexh
Автор

This is my new favorite tutorial channel 👍

GBSCronoo
Автор

Thanks! I like making the game over screen a different scene so I don't have to worry about disabling and enabling stuff.

suicune
Автор

Great vid dude. Really love event driven architecture even outside of game dev

revmatchr
Автор

Just to mention it, you can use Actions with parameters:

public static Action<int> OnDamage  

for example to pass an integer as the amount of damage to take.

falkkuhnel
Автор

Is it possible to have the code files in a google drive or something, because this doesn't work for me right now it just does nothing.

TheOnlyKaas
Автор

My PlayerHealth has an OnDestroy(object); instruction instead of OnPlayerDeath. Will the Destroy work in its place without having to replace and relink all of my player scripts with your Health script?

DextraVisual
Автор

whatis your visual studio theme? or you are using a custom editor to change user-methods, delegate, etc??? I do not like Monokai is too noise for me!! but your theme is cool, I am trying to find something cool to not distract my attention, I use the default one, but I just change some things in the color of property and local variables.

AstralNostalgia
Автор

hey may i ask if how will the death animation work once the GameOverScreen comesout?

johnrayaniag
Автор

unity cannot accept (Action) as a datatype despite i wrote using system; in the top of the script can u tell me why ?

muhamadabdullah
Автор

hey for some reasin i cant see my buttons or texts and more but they are there, also the screen dosent pop up for me (I saw the buttons and stuff before) does anyone have any idea why

eeezxbxzkgjzgvjzcyjvgz
Автор

But why is there a private void OnDisable method which has -= EnableGameOverMenu. That seems to do nothing. Is it even needed?

anythingpeteives
Автор

Dont know why but my player stays static whenever I click the restart button, like I know why because it disables movement and doesnt enable it again because it only enables it again on void start like what did I miss

ashtonobrien
Автор

Timer out lose condition I'm a complete beginner trying to make a game I'm stuck on the time out trigger lose I haven't found a tutorial talking about it

KBforJesusChrist
Автор

Assets\Scripts\UIManager.cs(24, 22): error CS1061: 'GameObject' does not contain a definition for 'SetAcive' and no accessible extension method 'SetAcive' accepting a first argument of type 'GameObject' could be found (are you missing a using directive or an assembly reference?) any ideas?

iv also tried

but this didn't work either

CoreyBarlow
Автор

I actually think I understand it after this video.
Thanks

eileeng
Автор

BRO. thanks. this is sick, please keep making videos. extremely dig the way you talk and explain things

catherine-ij
Автор

I don't really get this.. What is the difference of just having a normal function which will get called on death? :)

durrium
Автор

Note that doing it in this way will lock you out from creating multiplayer/co-op games. If you later decide to make your game co-op, you'll need to change lots of logic. Static things are comfy, but they are inflexible and untestable.

a-minus-b-equals-a
Автор

great video and if you are tryng to make the player not move on 3d try this
public void EnableGameOverMenu()
{
GameOverMenu.SetActive(true);
movement scriptt>().enabled = false;

}
hope i helped

FNNYNTFND