Skip to content

Instantly share code, notes, and snippets.

@walkies
Created July 12, 2018 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walkies/96b175f2a356befcfa7626aa6ad7116c to your computer and use it in GitHub Desktop.
Save walkies/96b175f2a356befcfa7626aa6ad7116c to your computer and use it in GitHub Desktop.
Coins
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Superscript
{
public static int TilEmpty = 0;
public static void SaveInt(int value)
{
PlayerPrefs.SetInt("coins", value);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment