You explain so well and give so much good info that I can't wait to get the answer to my specific question to like the video 👍
@francescosiciliano13685 жыл бұрын
You totally deserved my like and subscription pal ;) keep up these awesome tuts
@thanhsangtran14702 жыл бұрын
thank you, this topic that I really need right now.
@recaibey4 жыл бұрын
Good job bro! I finally learned what that all mean.
@supertenchoo42713 жыл бұрын
great video with deep good explanation
@scratchtutorials10684 жыл бұрын
better than the unity coroutine video, thank you
@Nenepoo4 жыл бұрын
its very understandable sir! kudos for you ! thank you very much
@reffrim5 жыл бұрын
Great explanation, Thanks!
@sravanreddy88025 жыл бұрын
Awesome explanation !!!
@KarateDuckFull4 жыл бұрын
Awesome tutorial man!
@thederpderp77584 жыл бұрын
If you feel the video is too slow for you, a playback speed of 1.5 worked well for me!
@kasali27393 жыл бұрын
thank you! this is what I was looking for but why my code doesnt work?
@usman2474 жыл бұрын
Thnks for the video ❤️
@eiquy33 жыл бұрын
just a little correction, FixedUpdate will stop executing but Update Function will not stop when Time.timeScale is set to 0.
@awesometuts3 жыл бұрын
I think you are wrong, both update and fixed update stop executing when time scale is 0, except if unity changed something in the meantime...
@eiquy33 жыл бұрын
@@awesometuts I mean that wont make sense, as Update is called every frame regardless of Time. You can check that, even in older versions it shouldn't get called but great tutorial though.
@awesometuts3 жыл бұрын
as far as I know and remember update function will also stop executing when time scale is 0, I've tested this out myself and saw it with my own eyes. If update is called regardless of time, why do we use delta time to have frame rate independence in update function?
@eiquy33 жыл бұрын
@@awesometuts I am not sure about that you have tested this and its not getting called, so I did a quick google search to find something public that could be helpful for our situation. answers.unity.com/questions/652931/timetimescale-doesnt-stop-void-update-from-beeing.html Take a look at this guy's question and its answer. I think that would be helpful. and answer to your for using delta time is to have frame rate independence. As you know its time difference between two frames so that's also wont be perfect, hence we use FixedUpdate for more precise calculations like Physics.
@awesometuts3 жыл бұрын
hmmmm, I could've sworn that time scale stops update as well, I will have to test it to see with my own eyes lol because I think it happened to me, or maybe it was fixed update, will see.
@neozoid70093 жыл бұрын
Please make a practical application in a game play.
@lizkimber6 жыл бұрын
IEnumerator seems a terrible thing to have as a co-routine return? Why on earth did they pick that?
@just_lin_86 жыл бұрын
Great tutorial and well explained. I can't access to free course :'(
@JarlThorson6 жыл бұрын
Is there a reason to use InvokeRepeating over void Update()?
@miguelalexandresimoesneves86603 жыл бұрын
my code is exactly the same and uts not working 4:43
@moric46776 жыл бұрын
so can i use Time.timeScale = 0.5 ,when the player has died by a gun. and Time.timeSclae = 0 ,when I'm opening a menu. ?
@moric46776 жыл бұрын
@@awesometuts i just want to add slowmotion effect after he dies ,like GTA 5. and freeze the game when i bring gun menu.
@Brai-niac Жыл бұрын
how do I call croutine with a UI button?
@programmingtacticalcode79684 жыл бұрын
What is type IEnumerator?
@TheSteveTheDragon3 жыл бұрын
IEnumerator is basically a generic function that can't return any type data and it's something you need to use with StartCoroutine so just remember these two go together. StartCoroutine(AwesomeFunction()); IEnumerator AwesomeFunction() { yield return new WaitForSeconds(3f); Debug.Log("This sentence is so awesome, you had to wait 3 seconds to read it!"); }
@kheyciebanal59313 жыл бұрын
its not printing on my console :(
@satyamsagar2 жыл бұрын
🤗🤗
@lucutes29364 жыл бұрын
my most hated thing in game development - programming...
@Tropicaya2 жыл бұрын
And 2 years later it's your best friend. Be honest 😄