1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- 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;
- }
- }
- }
- }
|