Man, out of all the useless garboni tutorials out there, IT'S THE GREAT TERRY C who could finally explain it in a way that didn't further confuse me!!! Kudos kind sir!
Thank you so much for the kind words! I plan to start releasing weekly tutorials. I hope you find more of them useful. Thanks so much for watching my video!!
your video save my desicion to stay in Unity... Data persisten it is a whole problem in Unity... special because Monobehaviours,Singletons... but amazing job!
thanks I hope your channel grows, I subscribed... I'm thinking of making my own tutorials for problems I've had to work out myself..I think the more Unity tutorials the better 🙏
It was very good video. But when i am at first scene i pick up 5 coins then go to another scene still have 5 coins thats good but when i pick a new coin it start from 1.
when I followed the score this is what happens Collected 3, moved to next scene - shows 6 collected another 1 score, changes to 1 and starts the count again
Man, out of all the useless garboni tutorials out there, IT'S THE GREAT TERRY C who could finally explain it in a way that didn't further confuse me!!! Kudos kind sir!
Thank you so much for the kind words! I plan to start releasing weekly tutorials. I hope you find more of them useful. Thanks so much for watching my video!!
So underrated dude. Explanative, easy to follow, and it doesn't kill you from boredom
Thank you so very much for the kind words! I need to find time to make more videos.
your video save my desicion to stay in Unity... Data persisten it is a whole problem in Unity... special because Monobehaviours,Singletons... but amazing job!
Thanks!! Good luck with unity!
yes, i want to see more videos like this for sure. please come back
Thank you so much for the kind words! I will work super hard to get some more videos out. You are amazing and I appreciate you.
Tanks my bro! that solved my problem, at least for the moment haha
No problem at all. Thanks for watching my video. :)
Thank you so much, man!!!!!
You are so very welcome! Thanks for watching one of my videos!!
thanks I hope your channel grows, I subscribed... I'm thinking of making my own tutorials for problems I've had to work out myself..I think the more Unity tutorials the better 🙏
Thank you so very much for your kind words. If you have any suggestions for tutorials you would like to see, I would be more than happy to make them.
@@introvertedgames no worries, I will.. and you have a good sense of humor. 😉
@@kpm25 Thanks! Kinds words like yours make me want to work harder on my channel. :) :)
This is very useful to know thanks!
You are so very welcome! I will have more tutorials rolling out. Consider checking out out discord. Thanks for watching the video!!
It was very good video. But when i am at first scene i pick up 5 coins then go to another scene still have 5 coins thats good but when i pick a new coin it start from 1.
Hmm that is in fact very strange. I have a discord you are welcome to join and speak to me one on one.
is this also pass player HP ?
This can pass any value.
@@introvertedgames is the method of doing same as pass score ? Do you mind ? can you explain to me?
when I followed the score this is what happens
Collected 3, moved to next scene - shows 6
collected another 1 score, changes to 1 and starts the count again
this is my code
[SerializeField] private AudioSource itemSound;
private int strawberries = 0;
[SerializeField] private Text strawberryText;
private void Start()
{
strawberryText.text = "Strawberries: " + GameData.Strawberries.ToString();
}
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.gameObject.CompareTag("Strawberry"))
{
itemSound.Play();
Destroy(collision.gameObject);
strawberries++;
strawberryText.text = "Strawberries: " + strawberries;
GameData.Strawberries += strawberries;
}
}
}
its same when player dies and respawns, it shows score + more score than collected and when i collect again, count resets
If at first you don't succeed try try and try again.