using System.Collections; using System.Collections.Generic; using UnityEngine; using Newtonsoft.Json; using Newtonsoft; using System; namespace DataTools { [Serializable] public class Profile { [SerializeField] [JsonProperty] private string name; [SerializeField] [JsonProperty] private string pronoum; [SerializeField] [JsonProperty] private int score; [JsonIgnore] public string Name { get { return name; } set { name = value; } } [JsonIgnore] public string Pronoum { get { return pronoum; } set { pronoum = value; } } [JsonIgnore] public int Score { get { return score; } set { score = value; } } } }