Example #1
0
 public static void Reset()
 {
     PlayerPrefs.DeleteAll();
     Instance = new UserData();
     Instance.Init();
 }
Example #2
0
		public static void Reset()
		{
			PlayerPrefs.DeleteAll();
			Instance = new UserData();
			Instance.Init();
		}
Example #3
0
 static UserData()
 {
     ProtoBuf.Serializer.PrepareSerializer <UserData>();
     Instance = Deserialize();
     Instance.Init();
 }
Example #4
0
		static UserData()
		{
			ProtoBuf.Serializer.PrepareSerializer<UserData>();
			Instance = Deserialize();
			Instance.Init();
		}