1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using Newtonsoft;
- using Newtonsoft.Json;
- using System;
- namespace DataTools
- {
- [Serializable]
- public class LevelData: DataObject
- {
- [SerializeField]
- [JsonProperty]
- private int level;
- [SerializeField]
- [JsonProperty]
- private int experience;
- [SerializeField]
- [JsonProperty]
- private Currency rewards;
- [JsonIgnore]
- public Currency Rewards
- {
- get
- {
- return rewards;
- }
- set
- {
- rewards = value;
- }
- }
- [JsonIgnore]
- public int Level
- {
- get
- {
- return level;
- }
- set
- {
- level = value;
- }
- }
- [JsonIgnore]
- public int Experience
- {
- get
- {
- return experience;
- }
- set
- {
- experience = value;
- }
- }
- }
- }
|