using System; using System.Collections.Generic; using UnityEngine; using static TaskConfig.windowItemGameObject; [CreateAssetMenu(menuName = "TaskConfig")] public class TaskConfig : ScriptableObject { public List TaskList; [Serializable] public abstract class windowItemGameObject { public abstract List TaskList { get; set; } [System.Serializable] public class TaskItem { public List xiansuos; public TaskType type; public bool isNoshow; public string info; public string info2; public string bgName; public string imgName; public string taskcheck; public string centerName; public float centersize = 1; public string perbName; public bool isClose; public bool isTuo; public List daojus; public bool isClosebtShow; public bool isTextNext = true; public bool isARSao=true; public bool isnongwu; public int arid; public List chooseItems; } [System.Serializable] public class ChooseItem { public string chooseName; public int nextId; } [System.Serializable] public class showdaoju { public bool isshow; } } public enum TaskType { Dialogue , Xiansuo , SkipSence , GameTask , ARTask , ChooseTask, InputTask, Other } }