12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- using System;
- using System.Collections.Generic;
- using UnityEngine;
- using static TaskConfig.windowItemGameObject;
- [CreateAssetMenu(menuName = "TaskConfig")]
- public class TaskConfig : ScriptableObject
- {
- public List<TaskItem> TaskList;
- [Serializable]
- public abstract class windowItemGameObject
- {
- public abstract List<TaskItem> TaskList { get; set; }
- [System.Serializable]
- public class TaskItem
- {
- public List<showdaoju> 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<showdaoju> daojus;
- public bool isClosebtShow;
- public bool isTextNext = true;
- public bool isARSao=true;
- public bool isnongwu;
- public int arid;
- public List<ChooseItem> 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
- }
- }
|