Merge branch 'develop' into feature/open
This commit is contained in:
@@ -37,6 +37,7 @@ namespace AibisDream
|
||||
_rectTransform = GetComponent<RectTransform>();
|
||||
_taskListParent = transform.Find("Record");
|
||||
EnumEventSystem.Global.Register(GameLoopEnum.GameQuit, ClearTasks);
|
||||
EnumEventSystem.Global.Register(EventEnum.NextYarn, ClearTasks);
|
||||
}
|
||||
|
||||
#region 诊疗单功能
|
||||
@@ -55,7 +56,7 @@ namespace AibisDream
|
||||
{
|
||||
foreach (var task in _taskDict)
|
||||
{
|
||||
Destroy(task.Value);
|
||||
Destroy(task.Value.gameObject);
|
||||
}
|
||||
_taskDict.Clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user