What if I want to use the actual remaining time instead of the circle? I can't figure it out. Where can I find the remaining time in the code to use it in a timer?
Could I use this Daily Event for multiple daily events (eg: Waypoints on a Map to be active/inactive), to be more precise, the TimeSpan.Parse only displays the same time on the TextLabel for all GameObjects in the scene, where each object is supposed to display different (their own) times for event start time. Any help or suggestions be appreciated
Hi! Thanks for the tutorial, but Plz am having issues with the reward system codes . The code on your site is giving me errors, plz can you review the code again. Especially the first and second if else statement under updateTime. It’s giving me an error saying Cannot be converted from String to Int.
I uploaded the PHP code to a server, and the text is retrieved. but the text retrieved isn't the time or date, it's showing some HTML header, 403 forbidden error and all. Is there a way to fix this?
It still works, if they go offline then the timer will check the time when they are back online and see if the reward should be available based on how long they been offline
@@OnlineCodeCoaching My code very well in unity in pc, but when i trying in a real android phone it doesent, the time progress not move, and (I put a 10 seconds) if i wait for click again, becouse the button is inactive, dont active back after the 10 secs. Can you help?
Im also having this error: NullReferenceException: Object reference not set to an instance of an object DailyReward1.setProgressWhereWeLeftOff () (at Assets/DailyReward1.cs:117) DailyReward1._configTimerSettings () (at Assets/DailyReward1.cs:96) DailyReward1.updateTime () (at Assets/DailyReward1.cs:73) DailyReward1+d__20.MoveNext () (at Assets/DailyReward1.cs:148) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0) Maybe someone has the same?
Thanks for the tutorial, this video help me a lot to solve this part of my game!!! Improve your audio, the microphone very close of your mouth create annoying noise. :P
Thank you sooooooo much!
You saved me!
What if I want to use the actual remaining time instead of the circle? I can't figure it out. Where can I find the remaining time in the code to use it in a timer?
How can I have it to the daily reward when claimed triggers another prefab with a script?
Could I use this Daily Event for multiple daily events (eg: Waypoints on a Map to be active/inactive), to be more precise, the TimeSpan.Parse only displays the same time on the TextLabel for all GameObjects in the scene, where each object is supposed to display different (their own) times for event start time.
Any help or suggestions be appreciated
Very usefull,thank you !
Hi! Thanks for the tutorial, but Plz am having issues with the reward system codes . The code on your site is giving me errors, plz can you review the code again. Especially the first and second if else statement under updateTime. It’s giving me an error saying Cannot be converted from String to Int.
I have the same problem
Just rewrite the first 5 ir 6 lines,
Such as:
using System; and the rest,
I uploaded the PHP code to a server, and the text is retrieved. but the text retrieved isn't the time or date, it's showing some HTML header, 403 forbidden error and all. Is there a way to fix this?
Hi! I'm having the same issue. Have you solved it?
@@ikee_2947 Nope. Now I'm using client side time checking form the device itself.
@@joysonst Okay thanks.
You have to use explode() instead split()
Very good voice 👍
hello, i have a question, what happend when the player are offline
It still works, if they go offline then the timer will check the time when they are back online and see if the reward should be available based on how long they been offline
@@OnlineCodeCoaching My code very well in unity in pc, but when i trying in a real android phone it doesent, the time progress not move, and (I put a 10 seconds) if i wait for click again, becouse the button is inactive, dont active back after the 10 secs. Can you help?
Thank you man!
Hi! servers are down!! :(
For me its stuck at ''Checking the time'' does anyone knows a fix?
Edit: i literally did nothing but its fixed
Im also having this error:
NullReferenceException: Object reference not set to an instance of an object
DailyReward1.setProgressWhereWeLeftOff () (at Assets/DailyReward1.cs:117)
DailyReward1._configTimerSettings () (at Assets/DailyReward1.cs:96)
DailyReward1.updateTime () (at Assets/DailyReward1.cs:73)
DailyReward1+d__20.MoveNext () (at Assets/DailyReward1.cs:148)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
Maybe someone has the same?
I love it 🌷
Thank you so much!
Hello. How can i show the remaining time. Thanks
it's not letting me get the package for free
Is the mentioned Asset from the Asset Store needed to create this system? Cheers!
HI,
THIS VOUCHER NOT WORKING ASV-U4PX-N7PD-Q6NH-EADY-RKLG
Thanks for the tutorial, this video help me a lot to solve this part of my game!!! Improve your audio, the microphone very close of your mouth create annoying noise. :P
Why it's not working for me 🥺
this will not work , because its based on playerprefs .. if you delete the game cash it will reset everything
Don’t work your sites