diff options
author | chai <chaifix@163.com> | 2020-12-30 20:59:04 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-12-30 20:59:04 +0800 |
commit | e9ea621b93fbb58d9edfca8375918791637bbd52 (patch) | |
tree | 19ce3b1c1f2d51eda6878c9d0f2c9edc27f13650 /Client/Assembly-CSharp/TaskFolder.cs |
+init
Diffstat (limited to 'Client/Assembly-CSharp/TaskFolder.cs')
-rw-r--r-- | Client/Assembly-CSharp/TaskFolder.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Client/Assembly-CSharp/TaskFolder.cs b/Client/Assembly-CSharp/TaskFolder.cs new file mode 100644 index 0000000..91f3f08 --- /dev/null +++ b/Client/Assembly-CSharp/TaskFolder.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using UnityEngine; + +public class TaskFolder : MonoBehaviour +{ + public string FolderName; + + public TextRenderer Text; + + public TaskAdderGame Parent; + + public List<TaskFolder> SubFolders = new List<TaskFolder>(); + + public List<PlayerTask> Children = new List<PlayerTask>(); + + public void Start() + { + this.Text.Text = this.FolderName; + } + + public void OnClick() + { + this.Parent.ShowFolder(this); + } + + internal List<TaskFolder> OrderBy() + { + throw new NotImplementedException(); + } +} |