41 lines
1.5 KiB
C#
41 lines
1.5 KiB
C#
using System.Collections;
|
||
using System.Collections.Generic;
|
||
using UnityEngine;
|
||
|
||
public class MobileAttach10004_4001 : MonoBehaviour
|
||
{
|
||
//public void OnReceiveTask(string triggerName)
|
||
//{
|
||
// if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, false) == 0)
|
||
// {
|
||
// GameManager.UIMgr.ShowPanel<UI_ReceiveTaskPanel>(E_UI_Layer.Mid, (panel) =>
|
||
// {
|
||
// panel.Init(triggerName, Input.mousePosition);
|
||
// });
|
||
// }
|
||
//}
|
||
public void OnDialogue(string triggerName)
|
||
{
|
||
GameManager.UIMgr.ShowPanel<UI_PlayerSessionPanel>(E_UI_Layer.Mid, (panel) =>
|
||
{
|
||
panel.Init(triggerName, "您好,主站初步排查xxx客户采集故障,导致9月25日没有抄表数据。", PlayerTalk, 0);
|
||
});
|
||
}
|
||
|
||
private void PlayerTalk(string triggerName)
|
||
{
|
||
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, false) == 0)
|
||
{
|
||
GameManager.UIMgr.ShowPanel<UI_CustomSessionPanel>(E_UI_Layer.Mid, (panel) =>
|
||
{
|
||
panel.Init(triggerName, "好的", "班组成员", 1, (intTemp) =>
|
||
{
|
||
ScoreManager.instance.Check(triggerName, "线损异常类型研判完成");
|
||
GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true);
|
||
GameManager.UIMgr.HidePanel<UI_CustomSessionPanel>();
|
||
});
|
||
});
|
||
}
|
||
}
|
||
}
|