CustomizeCategory.cs 518 B

123456789101112131415161718192021222324252627282930
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using System;
  5. using Newtonsoft.Json;
  6. using Newtonsoft;
  7. namespace DataTools
  8. {
  9. [Serializable]
  10. public class CustomizeCategory : DataObject
  11. {
  12. [JsonProperty]
  13. [SerializeField]
  14. private List<CustomizeSubCategory> subcategory;
  15. [JsonIgnore]
  16. public List<CustomizeSubCategory> SubCategory
  17. {
  18. get
  19. {
  20. return subcategory;
  21. }
  22. set
  23. {
  24. subcategory = value;
  25. }
  26. }
  27. }
  28. }