Singletons In Unity - In Depth Overview Of Singletons - Unity Game Manager Tutorial

Singletons In Unity - In Depth Overview Of Singletons - Unity Game Manager Tutorial

16,661 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@xoomzera2830
@xoomzera2830 - 10.02.2023 07:56

question if i have 5 classes
i want to acess the number of lifes as u said
but singletone is used only with 1 class what's the point xd ?

Ответить
@macleodgordon
@macleodgordon - 27.08.2022 19:20

Awesome tutorial on Singletons, very fast paced, you will need to pause and repeat several times to get the gist of what Singletons are and what to use them for. Thank you. Now I just have to figure out how to implement this in a game I have written which has some problems that may get fixed because of this tutorial.

Ответить
@FratNightGaming
@FratNightGaming - 22.06.2022 08:17

This video is incredible. Absolutely phenomenal teaching. I never comment on these videos, but you earned yourself a sub!

Ответить
@eliorubenmc
@eliorubenmc - 07.02.2022 18:33

Good, thanks, just what I need to understand.

Ответить
@asumalkushwah3000
@asumalkushwah3000 - 07.09.2021 09:32

I saw many tutorials but this tutorial clear my all concept about Singleton pattern and static variables

Ответить
@anonymoussloth6687
@anonymoussloth6687 - 14.05.2021 13:06

So when we attach a script to a game object, r we actually creating a object of that script and attach that?

Ответить
@antonkobziev405
@antonkobziev405 - 26.03.2021 22:21

You are the best

Ответить
@carlabalos3884
@carlabalos3884 - 28.12.2020 04:16

Is this also the mainly use Game Manager class?

Ответить
@MoonChutia1989
@MoonChutia1989 - 15.11.2020 14:42

Nice explanation

Ответить
@vasudevkulkarni4160
@vasudevkulkarni4160 - 07.11.2020 21:49

Thanks for making our life easier Fahir
Love and support from India :)

Ответить
@16meashiqka96
@16meashiqka96 - 02.11.2020 11:31

Nice Explanation . I Recommend seeing this video . Superb . Keep it up .

Ответить
@chakravarthye
@chakravarthye - 16.09.2020 09:49

You rockkkk. Beautiful tutorial.

Ответить
@sandityasnoormina1010
@sandityasnoormina1010 - 09.09.2020 21:50

this is the best explanation so far

Ответить
@peimanenato
@peimanenato - 01.09.2020 19:06

Thanks for great explanation. U point out the points

Ответить
@safakaplay2068
@safakaplay2068 - 06.08.2020 16:59

hey, thank you so much for educational videos. it really helps people.

Ответить
@kitchenspider1539
@kitchenspider1539 - 08.07.2020 07:49

This subject was explained so well that when I found Fahir on udemy I immediately bought his course. I've watched all kinds of vids on unity, including Brackeys (which are good, not knocking him) but this guy explains it in the most logically sensible way (to me), and there is no fluff, just straight to the point. He also talks better than most of the english speaking instructors I see (they usually talk slow, or have a weird pace or cadence while Fahir talks pretty fast)

Ответить
@badrkalitouss8924
@badrkalitouss8924 - 08.05.2020 15:36

So what is the role of this part of the code, if the singletons must not be destroyed:


if(instance != null) { Destroy(gameObject); }

Ответить
@yahoruz
@yahoruz - 04.05.2020 03:49

this energy hyped me up bro

Ответить
@kebenny
@kebenny - 30.03.2020 09:57

Nice explanation. Thanks

Ответить
@learningsomething8904
@learningsomething8904 - 09.03.2020 13:42

Really helpful!

Ответить
@hballamco
@hballamco - 16.02.2020 06:37

Very nice tutorial. Could you please explain why would someone prefer a singleton over static classes? Thanks

Ответить
@ThePlayer-sz5np
@ThePlayer-sz5np - 15.12.2019 02:12

Finely i understand singltons

Ответить
@baconchaney
@baconchaney - 06.12.2019 13:40

Really nicely explained, I was struggling to get my head around the concept but this has helped a lot! Thanks!

Ответить
@rouzvegogh
@rouzvegogh - 02.11.2019 17:15

You Are Awesome!

Ответить
@ankitraj3180
@ankitraj3180 - 14.09.2019 12:50

sir as a game developer do i need to learn more design patterns or Singleton is enough???

Ответить
@ryrenbayancatindig6899
@ryrenbayancatindig6899 - 06.09.2019 11:16

Pay attention! pay attention here. no no pay attention I said!

Ответить
@kayumiy
@kayumiy - 31.07.2019 04:33

nice explanation. super easy to understand. Thank you!

Ответить
@coribeltran691
@coribeltran691 - 28.05.2019 20:16

You are fucking awesome. Thank you.

Ответить
@ignisfatuus8844
@ignisfatuus8844 - 15.05.2019 20:03

You're awesome man !
Now I completely understand singletons.
Thanks a lot

Ответить
@AdebayoAdegbemboAsa
@AdebayoAdegbemboAsa - 27.02.2019 17:04

Hi. Thanks for making clear the efficiency of static variables in Unity. I've become very conscious of memory management and been too weary of static variables.

Ответить
@DingoAteMeBaby
@DingoAteMeBaby - 17.11.2018 07:50

PAY ATTENTION NOW

Ответить
@DingoAteMeBaby
@DingoAteMeBaby - 17.11.2018 07:43

very good explanation!

Ответить
@murrayKorir
@murrayKorir - 06.08.2018 12:00

I learnt a lot from you class man, since I learnt how to build jack the giant have been able to create my own game and published it on google play store , however I was having challenges about singletons, the command DontDestroyOnLoad(gameobject) and this video has shade a lot of light for my plans with the game, especially in character selections something I intend to implement in the game. Thanks you.

Ответить
@saadbintarique1894
@saadbintarique1894 - 05.08.2018 10:03

Liked the tutorial. Really helped me clear my Singletons. I recently had a run in with a problem using Singletons, I was able to resolve it but this really clarified me.

A quick request. Could you make a video where you draw parallels between the C# that we use in Unity and C# in general (or point me to it if one exists already)? I am looking for some core C# knowledge probably to use outside of Unity which means I am looking for a non Unity (or Games) based C# tutorials.

Ответить
@gautamsharma9897
@gautamsharma9897 - 04.08.2018 12:08

Can you make tutorial on creating ""Chat app for android in Unity3D""

Ответить
@Thoth444
@Thoth444 - 02.08.2018 20:00

Thank you, Fahir!

Ответить