2D Racing Multiplayer Game Template
  • 🌟Welcome
  • Getting Started
    • ⚡Import The Template
    • đŸ•šī¸Build Project
    • 📂Project Structure
  • Customization
    • 🏁Add New Race Map ( Classic Mode )
    • đŸšĻAdd New Race Map ( Multiplayer Mode )
    • đŸŽī¸Add New Car
    • đŸĒ™Set Cars Price
    • 💾Save System
    • 💰Monetization ( Admob + Unity IAP )
      • 🔷Ads Manager
      • 🔷Reward Free Coins
    • đŸ’ģPlayFab
    • 📃GDPR
    • đŸŽĩAudio System
    • ✨Lighting Effect
  • 🌠UI Animation
  • đŸĨˆSet Race Lap
  • ⌛Set Countdown Return To Room Lobby
  • đŸ’ļReward System ( Multiplayer Mode )
  • Other Informations
    • 📓Changelogs
    • â˜Žī¸Contact
Powered by GitBook
On this page
  1. Customization

Save System

PreviousSet Cars PriceNextMonetization ( Admob + Unity IAP )

Last updated 3 months ago

To show Save Load Manager Inspector window:

  • Load Main Menu Scene -> Select Save Load Manager Gameobject.

Field Name
Description

File Name

Input file name saved on device ( Default name is GameData ).

Is Use Encryption

Enable this option to make it harder for players to hack data.

Is Use Save Cloud

Enable this option for save load game data with Playfab.

To use save cloud option, you need to create a PlayFab account. Please check this page.

🔷 Save And Load New Variable

  • To save and load new variable, such as gems, first open the GameData script.

  • Add two lines code like the below picture:

  • Implement ISaveLoadGame to Class name you want.

  • Add two functions save and load to the name class implemented ISaveLoadGame interface.

  • Now you can save and load gems variable in the game.

💾