35 lines
950 B
C#
35 lines
950 B
C#
using System.Collections;
|
||
using System.Collections.Generic;
|
||
using UnityEngine;
|
||
|
||
public class ComputerController : PermanentTriggerBase
|
||
{
|
||
protected override void OnStart()
|
||
{
|
||
base.OnStart();
|
||
|
||
}
|
||
protected override void OnMEnter()
|
||
{
|
||
base.OnMEnter();
|
||
if (GameManager.RunModelMgr.ModeType != E_ModeType.Study)
|
||
{
|
||
_highlight.SetHighlighted(true);
|
||
}
|
||
}
|
||
protected override void OnMExit()
|
||
{
|
||
if (GameManager.RunModelMgr.ModeType != E_ModeType.Study)
|
||
_highlight.SetHighlighted(false);
|
||
base.OnMExit();
|
||
}
|
||
protected override void OnMDown()
|
||
{
|
||
_highlight.SetHighlighted(false);
|
||
GameManager.UIMgr.ShowPanel<UI_ComputerSystemHomePagePanel>(E_UI_Layer.Mid, (panel) =>
|
||
{
|
||
//panel.Init(triggerName, "我是xxx供电所人员,到xxx地方开展直接接入式电能计量装置装拆及验收标准化作业。", PlayerTalk, 0);
|
||
});
|
||
}
|
||
}
|