任务触发
This commit is contained in:
parent
0ece047d64
commit
faa4d21d63
@ -109,8 +109,10 @@ public class TaskPanel : Base
|
|||||||
TaskItem taskItem = taskItems.Find(t => t.overseeCond== taskId);
|
TaskItem taskItem = taskItems.Find(t => t.overseeCond== taskId);
|
||||||
if (taskItem != null)
|
if (taskItem != null)
|
||||||
{
|
{
|
||||||
|
Debug.Log(1111);
|
||||||
if (taskItem.ishow == 1)
|
if (taskItem.ishow == 1)
|
||||||
{
|
{
|
||||||
|
Debug.Log(2222);
|
||||||
taskItem.gameObject.SetActive(true);
|
taskItem.gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user