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