C# Lesson: How To Save & Load Game Data on a Local Device
Save data like username and score on a local device using PlayerPrefs. You can save strings, integers and floats. A basic example would look something like this: Save: PlayerPrefs.SetString(“playerName”, “Oxmond”); Load: PlayerPrefs.GetString(“playerName”); ❤️ Subscribe to Oxmond Tutorials. Stay ahead of the game! https://bit.ly/SubscribeOxmondTutorials ✅ Free Assets…
How To Generate a Random Number or a Random String
How to work with date and time. In this tutorial we’ll work with the system datetime. How to get it, and how to format it. ❤️ Subscribe to Oxmond Tutorials. We upload new videos every day! https://bit.ly/SubscribeOxmondTutorials ✅ Download Free Assets from the Unity Assets Store:…
How To Get the DATE and TIME
How to work with date and time. In this tutorial we’ll work with the system datetime. How to get it, and how to format it. Tip: You can get the NAME of the day by typing “ddd” or “dddd”. Try this: print(“Today is ” +…