using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public struct TaskContent { public string TaskName; public float TaskScore; public bool TaskState; } public class TaskControl : MonoBehaviour { public static TaskControl instance; public List allTaskName = new List(); public List allTask = new List(); public Dictionary currentTasks = new Dictionary(); void Awake() { instance = this; } // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } public void AddToTaskList() { } }