No video

Unity Pause Game - Easy Tutorial (2023)

  Рет қаралды 39,913

Solo Game Dev

Solo Game Dev

Күн бұрын

Пікірлер: 37
@digiross7199
@digiross7199 Жыл бұрын
Short, sweet, and to the point. Thank you
@CodeLaniakea-tf5no
@CodeLaniakea-tf5no 11 ай бұрын
Thank You, Solo Game Dev! I like this tutorial
@kyuib
@kyuib Жыл бұрын
That's so helpful and quick, thank you!
@Brai-niac
@Brai-niac Жыл бұрын
simple and easy to do. Thanks bro. 1 sub to you.
@strmyc
@strmyc Жыл бұрын
Thank u this really helped me out with my game!
2 ай бұрын
Thanks man! This is straight to the point! :)
@karlosmiguelserrano6744
@karlosmiguelserrano6744 Жыл бұрын
where is the previous video ?
@malikmuhammadarslan9993
@malikmuhammadarslan9993 Жыл бұрын
ThankYou buddy
@stuffedmannequin
@stuffedmannequin Жыл бұрын
Is there a way to pause the game while not pausing certain things? For example, I have a function where a character can examine something, and I would like time to stop around them so they don't get attacked while examining. However, using Time.timeScale pauses the text crawl for whatever it is they're trying to examine. Also trying to use Time.timeScale affects the inventory UI as well.
@EmeraldForestCat
@EmeraldForestCat 10 ай бұрын
Use Time.unscaledTime for things that need to work during a pause.
@itsdonix
@itsdonix 10 ай бұрын
@@EmeraldForestCat can u be more specific?
@EmeraldForestCat
@EmeraldForestCat 10 ай бұрын
@@itsdonix Changing the global game time does not affect Time.unscaledTime. You can safely slow down, speed up or pause everything without worrying that this will affect methods that use Time.unscaledTime.
@itsdonix
@itsdonix 10 ай бұрын
@@EmeraldForestCat Thank you for the support. I figured it out myself after awhile but, thanks anyways!
@rosettegolda232
@rosettegolda232 Жыл бұрын
ha no way i just made a pause screen and this came up in my recommended!
@SoloGameDev
@SoloGameDev Жыл бұрын
😄
@vineetmalekar3225
@vineetmalekar3225 8 ай бұрын
Thank you
@malikmuhammadarslan9993
@malikmuhammadarslan9993 Жыл бұрын
Can you please make a video on how can we save progress in seen for example in a city builder 2d game how can we same the whole city building and data.
@yhkim1606
@yhkim1606 Жыл бұрын
very nice.
@SoloGameDev
@SoloGameDev Жыл бұрын
Thanks :)
@briannamorales2345
@briannamorales2345 4 ай бұрын
hi, when I click the pause button the menu does not show up but instead says "NotImplementedException: The method or operation is not implemented." Would you know how to fix this? I'm new to coding so I am unsure what to do. Thanks
@ahmet19830
@ahmet19830 Ай бұрын
Can I copy the code? Where can ı take it easily?
@nieboszczyq
@nieboszczyq Жыл бұрын
How can I make it so that I have to press esc instead of some button on the screen?
@chemax79
@chemax79 Жыл бұрын
Make an if Statement with "if (Input.GetKeyDown(KeyCode.Escape){}" And put your desired code(Calling the pause menu) in curly brackets
@nieboszczyq
@nieboszczyq Жыл бұрын
@@chemax79 thanks
@byram_brt
@byram_brt 10 ай бұрын
i stopped game with time.timescale=0; but i cant work this code "Button.interactable=true;" i searched and i probably i need to solve this with time.unscaledTime but how can i do it? help me plz
@SoloGameDev
@SoloGameDev 10 ай бұрын
You can do it before the game stop if u ask this
@byram_brt
@byram_brt 10 ай бұрын
@@SoloGameDev ty for answer, my problem was different but it was solved :)
@quentinlasne1381
@quentinlasne1381 4 ай бұрын
I changed the pause button to the keyBind esc and when I click on resume, it work but I need to click twice in escape to make pause again, can someone help me please ? I think It's a bit too late but I hope too
@SoloGameDev
@SoloGameDev 4 ай бұрын
There may be a problem with your controls. You can check whether the menu is active or not when you press the Esc key. If the menu is not active, you should put a control like open and close if it is active.
@quentinlasne1381
@quentinlasne1381 4 ай бұрын
@@SoloGameDev there is no problem when I click on esc, If I click again, the pause menu appear directly. But when I click on resume I have to click twice
@dasquadraiders2498
@dasquadraiders2498 9 ай бұрын
how can i make the quit button work???
@SoloGameDev
@SoloGameDev 9 ай бұрын
You can use Application.Quit() command for this.
@z.6377
@z.6377 6 ай бұрын
after i click exit and return to the main menu scene where i can click play, and i when click play, my game starts at time 0 and cant start the game@@SoloGameDev
@CautionYT754
@CautionYT754 4 ай бұрын
can someone put the entire C# Script in the comments please?
@kanarakun8449
@kanarakun8449 29 күн бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PauseMenu : MonoBehaviour { public GameObject PausePanel; // Update is called once per frame void Update() { } public void Pause() { PausePanel.SetActive(true); Time.timeScale = 0; } public void Continue() { PausePanel.SetActive(false); Time.timeScale = 1; } }
@Johan-rm6ec
@Johan-rm6ec Ай бұрын
Not helpfull, in a decent project only time = 0 is not enough.
PAUSE MENU in Unity
12:13
Brackeys
Рет қаралды 985 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4 МЛН
When you discover a family secret
00:59
im_siowei
Рет қаралды 15 МЛН
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 11 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 3,6 МЛН
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 525 М.
Making a VIRUS for a Game Jam (and almost winning)
9:36
Deynum Studio
Рет қаралды 312 М.
I Paid Fiverr Game Developers to Make the Same Game
10:25
BadGameDev
Рет қаралды 676 М.
How to ACTUALLY get into Gamedev
14:01
DaFluffyPotato
Рет қаралды 718 М.
The right way to pause a game in Unity
9:09
Game Dev Beginner
Рет қаралды 58 М.
Unity Inventory System - Easy Tutorial
16:35
Solo Game Dev
Рет қаралды 192 М.
The Most Impressive Scratch Projects
11:00
DenshiVideo
Рет қаралды 4,9 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 706 М.
6 Minute PAUSE MENU Unity Tutorial
6:09
BMo
Рет қаралды 113 М.
I Wish I Had Known This Before I Started Unity Game Development...
11:11