public static void Reset() { PlayerPrefs.DeleteAll(); Instance = new UserData(); Instance.Init(); }
static UserData() { ProtoBuf.Serializer.PrepareSerializer <UserData>(); Instance = Deserialize(); Instance.Init(); }
static UserData() { ProtoBuf.Serializer.PrepareSerializer<UserData>(); Instance = Deserialize(); Instance.Init(); }