How to Create a PAUSE MENU in Unity ! | UI Design Tutorial

preview_player
Показать описание
In this Unity 2D tutorial we'll create a PAUSE MENU!
First we're gonna make a Pause Menu User Interface (UI).
Then we'll create simple and easy-to understand Pause Menu c# script code.
And we'll learn how to add the Pause Menu to all game level scenes.

Enjoy the video ☕

————————————————————————————
🖐 Hi Game developer
Welcome to Rehope Games I'm Murat

I share unity tutorial videos on my channel. if you want to make a game with unity (especially 2d platformer game), the videos here will definitely interest you.

————————————————————————————

#unitytutorials, #unity2d, #unity2dplatformer
Рекомендации по теме
Комментарии
Автор

these videos are really great and helped me a lot, keep it up

olegbasarab
Автор

Thank you sir. this tutorial was so helpful for me

mehrdadkhorasani
Автор

Thank you for the very informative and instructive video. Perfect

gozumyusuff
Автор

Thank you very much, you have taught me a lot, keep it up

khodar.karawita
Автор

you always make the best video. thank you so much.

smbiplob
Автор

Thank you, great video, as usual. I hope to make a lesson that moves to the next stage when the enemy dies

GEMAGEMA-xrrp
Автор

I like your videos so much thank you for that :) and sorry if I ask again but do you know exakly when the designs are coming out ? :)

leoprzybilla
Автор

Is there a way to use the esc button instead of aa pause button?

katsudev
Автор

Hi, i have a problem with the pause menu script. When i write the code to freeze the game(Time.timescale = 0) my game is not freezing. What should i do?

alexfronzi
Автор

Hey watsup man I have a problem when i click on the home button and the click on the play button my character glitches and goes under the floor

minikeanu
Автор

Really wish u added just hitting the escape key to pull up the menu

LegitLord
Автор

Hello sir I have one question
Please give me reply

Question:- when I press pause button, then all sound aslo stop working .

because my game is zombie Survival and when zombie collide to player then get the sound. when zombie collide to player then sound play but that's time I pressing pause button but sound also play pls give me reply ❤ for sound also stop... subscriber ..❤

prak_games
Автор

kodlarında ne işe yaradığını açıklayarak yeni bir video gelir mi elinize sağlık gerçekten yaralı videolar ama tek anlamadığım kodların işlevleri 😍😍

ysfgaming
Автор

Can you please make a tutorial on how to create terrain in RPG maker game? It's really difficult.

naul
Автор

Hi again, I managed to make it work, but when I pause the game the music does not pause and continues playing, there is a way to solve it? (I only use the audio source)

VivianeAdamavicius
Автор

hi Thank you very mouch for this nice tutorial . my restume button doesnt work The variable puseMenue of PuseMenue has not been assigned.
You probably need to assign the puseMenue variable of the PuseMenue script in the inspector.) can you help me please ?

matinshirjang
Автор

merhabalar sınavım var acil yetiştirmem lazım menü assetlerinin hepsini alabilir miyim acaba?

KuzeyAkyuz
Автор

Hello! Is it applicable to game with videos?

aysukrim
Автор

Why when i create 2 canvas the second canvas is not appearing

jpl
Автор

I made my Pause Menu show up by pressing ESC. Here is the code I used:
-
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;


public class PauseMenuScript : MonoBehaviour
{
bool gamePaused = false;
[SerializeField] GameObject pauseMenu;

void Update()
{
if && gamePaused == false)
{
Time.timeScale = 0;
gamePaused = true;
pauseMenu.SetActive(true);
}
else if && gamePaused == true))
{
Time.timeScale = 1;
gamePaused = false;
pauseMenu.SetActive(false);
}
}

public void Home()
{
SceneManager.LoadScene(0);
}

public void Continue()
{
Time.timeScale = 1;
gamePaused = false;
pauseMenu.SetActive(false);
}
}
-

grove-of-gnomes