-
Notifications
You must be signed in to change notification settings - Fork 4
unity savedata
Peter Klooster edited this page Mar 13, 2019
·
1 revision
// Sets an int to the savedata
public void SetInt (string key, int i){}
// Returns an int from the savedata, returns the defaultValue when there's none
public int GetInt (string key, int defaultValue = 0){}
// Sets a string to the savedata
public void SetString(string key, string s){}
// Returns a string from the savedata, returns the defaultValue when there's none
public string GetString (string key, string defaultValue = ""){}