my game was not pause after i click on pause button
@Muneebdevelopment3615 күн бұрын
hey how do i apply real ads no test ?
@penciltamaraart6 күн бұрын
I don't know how to share my game.
@Mr_2N28 күн бұрын
Great Tutorial, but it does not work when i build it with WebGL can anyone help?!?!
@vaishnavibhat196214 күн бұрын
Can anyone help me with score text For me it’s the only thing thts not working
@andersonrocha113220 күн бұрын
how retore purchases in android?
@nikosurfingYT19 минут бұрын
In android you don't need to restore purchases it's automatic
@rubinluitel15821 күн бұрын
Late comment but here are some improvements I made. This will help with if you are saving to a database or just better code. The current way Save() is called won't work with database because you are calling Save() every frame within the while loop. Instead move the Save() call inside the if(isEnergyAdding) statement. Modify restoreEnergy function: //called only when energy is added, reduces call to Save() if (isEnergyAdding) { lastEnergyTime = DateTime.Now; nextEnergyTime = nextDateTime; Save(); } Another thing is, after you use energy, you need to call Save() again. This is needed because its possible now that after you use energy, your nextEnergyTime needs to be in the future. Modify useEnergy function: if (currentEnergy > 0) { currentEnergy -= energyToUse; updateEnergy(); if (!isRestoring) { //needed to trigger first nextEnergyTime change when energy goes below max, this works if currentEnergy goes over maxEnergy too if (currentEnergy < maxEnergy) { nextEnergyTime = addDuration(DateTime.Now, restoreDuration); } //if you are going to a different scene right after using energy, you could comment this coroutine StartCoroutine(restoreEnergy()); } //save data again after energy used, or if nextEnergyTime was modified above save(); } else { Debug.Log("Not enough energy"); } Now if you are using a database, you simply modify the Save and Load function to save/read from database. You can put a debugger in those function to verify that Save is only called once per energy restore duration.
@devinmcgee513021 күн бұрын
10/10 subbed
@NooB20.023 күн бұрын
It's work on mobile?
@mageofchaosАй бұрын
Thank you so much! Works like a charm.
@sebastianrussso6958Ай бұрын
How can i make it so when the player presses a key in the keyboard the game is paused?, like when one presses esc in any game and the game is paused, i am trying to eliminate the necessity for using the mouse to click on the button
@i_am_reshadАй бұрын
keep it doing bro
@kierangalvin3732Ай бұрын
I love how when you're getting into unity and you are just like yup... Yup.. and done
@henryr2802Ай бұрын
yo guys check ur code properly if it aint working trust
@carlosa2843Ай бұрын
How could I get the available networks (Access Point)?
@Mallard_GamesАй бұрын
very nice tutorial! thank you
@haiangnguyen5216Ай бұрын
it really helped me, thank you so much
@fluuuly2954Ай бұрын
how can i make a function so that there is not just that one obstacle spawing but instead there will randomly spawn for example an apple and a carrot ukwym?
@claraabellia9004Ай бұрын
this tutorial helped me sooo much!!! omg lifesaver so clear, concise & good explanations too. tysm!!!
@madsbluerayАй бұрын
If you use C# events instead of direct assignment for the Button component, you can share one Ad system between interstitial and rewarded ads and cut down on size. Maybe you could even pass an int or a bool during the event call as a tag for how many /+ what kind of ads to play. Just some thoughts. Great tutorial!!!
@jaykishansingh1Ай бұрын
Thank you so much. Completed the game.
@devinmcgee5130Ай бұрын
10/10
@terrypapamarkou3741Ай бұрын
perfect thank you
@IlSense98Ай бұрын
Thank you man, amazing tutorial
@fluuuly29542 ай бұрын
why doesnt my character move at 6:11?
@fluuuly29542 ай бұрын
nvm
@VIMES_2 ай бұрын
thank you!
@icid_2 ай бұрын
ty so much
@johnpetersen82602 ай бұрын
Question, do you have any suggestions on how to load specific character animations with the character I have selected? Any articles or tutorials would be super helpful. I load the character in but the minute the character starts moving it only loads the animations for the first character in the DB. (load character 2, move, character 1 animations show) Long story. Kind of a newbie. Thanks!
@mrkensho37702 ай бұрын
This code does not work on unity 2023.2.3f1, anyone got this same issue or found a way around it? Thank you
@pakhand444652 ай бұрын
goood work
@adsikaros96112 ай бұрын
but it also muted the sfx how to make it only stop the bgm
@mikeybeets30932 ай бұрын
Thank you for this tutorial- I’m having trouble when trying to add my joystick assets to the Source Image slot. It seems as though it’s not compatible. They’re png files. Does that make a difference?
@SulemanSunny1972 ай бұрын
Bro when I am clicking button in unity then buy option is not showing on IAP
@SulemanSunny1972 ай бұрын
Bro just tell me Payout and store id ovveride will affect anything or not
@BakrpifyStudio2 ай бұрын
Awesome bro. But how to store the coin by playerprefs or other way. If use player prefs, then when user uninstall the android game / clear cache then he will lose all of buying item, right??? Which way can be use, playerprefs or other.
@sephn1x2 ай бұрын
I've implemented this, and the saving works, but the volume doesn't actually change when playing :/
@Rahul-vw1vx2 ай бұрын
i cant able to import assets from files what should i do?
@NikitaValeyev3 ай бұрын
thanks bro
@workoutmusic1113 ай бұрын
Can someone help at first it loads but second time it won't please help
@user-ko3rb4sl4z3 ай бұрын
Showing Me EveryTime this error: Error showing Ad Unit Interstitial_Android: NOT_READY - Placement Interstitial_Android is not ready UnityEngine.Debug:Log (object) loadInterstitial:OnUnityAdsShowFailure (string,UnityEngine.Advertisements.UnityAdsShowError,string) (at Assets/Assets/Swipe/Scripts/Mitu/loadInterstitial.cs:49) UnityEngine.Advertisements.Utilities.CoroutineExecutor:Update () (at ./Library/PackageCache/[email protected]/Runtime/Advertisement/Utilities/CoroutineExecutor.cs:17)
@nex62463 ай бұрын
Getting error while adding csharp file dragging to player
@Cooked_Pigg3 ай бұрын
I got this error Can anyone help? Error showing Ad Unit Interstitial_Android: NOT_READY - Placement Interstitial_Android is not ready UnityEngine.Debug:Log (object) InterstitialAdsButton:OnUnityAdsShowFailure (string,UnityEngine.Advertisements.UnityAdsShowError,string) (at Assets/InterstitialAdButton.cs:48) UnityEngine.Advertisements.Utilities.CoroutineExecutor:Update () (at Library/PackageCache/[email protected]/Runtime/Advertisement/Utilities/CoroutineExecutor.cs:17)
@Osoclever3 ай бұрын
Your awesome thank you
@user-ho6rf8wk8j3 ай бұрын
Liked and Subscribed and Watch your Videos, Thank You ❤
@sabbath82323 ай бұрын
Muito bom, rápido e muito preciso, resolveu meu problema!
@HPMusic.3 ай бұрын
Great tutorial 😊 Well made 😎💪
@TechHust3 ай бұрын
the best one out there Had been looking for this for some days now. Thanks a lot bro, you saved me