123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using System;
- using Newtonsoft;
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- namespace DataTools
- {
- public enum ElementType
- {
- Quest,
- Conversation,
- Tweet,
- Assist,
- Chapter
- }
- [Serializable]
- public class ChapterElement : DataObject
- {
- [JsonProperty]
- [JsonConverter(typeof(StringEnumConverter))]
- [SerializeField]
- private ElementType type;
- [JsonIgnore]
- public ElementType Type
- {
- get
- {
- return type;
- }
- set
- {
- type = value;
- }
- }
- }
- }
|