12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using System;
- using Newtonsoft;
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- namespace DataTools
- {
-
- [Serializable]
- public class CustomizeItem: DataObject
- {
- [JsonProperty]
- [SerializeField]
- [JsonConverter(typeof(StringEnumConverter))]
- public CustomizeType type;
- [JsonProperty]
- [SerializeField]
- public Currency currency;
- [JsonProperty]
- [SerializeField]
- public CustomizeStats stats;
- [JsonProperty]
- [SerializeField]
- public bool colorpicker;
- [JsonProperty]
- [SerializeField]
- public bool shop;
- public bool GetColorPicker()
- {
- return colorpicker;
- }
- public bool GetShop()
- {
- return shop;
- }
-
- public Currency GetCurrency()
- {
- return currency;
- }
- public CustomizeStats GetStats()
- {
- return stats;
- }
- public CustomizeType GetCustomizeType()
- {
- return type;
- }
- }
- }
|