32 lines
796 B
C#
32 lines
796 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class MirrorController : PermanentTriggerBase
|
|
{
|
|
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()
|
|
{
|
|
base.OnMDown();
|
|
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true) == 0)
|
|
{
|
|
GameManager.UIMgr.ShowPanel<UI_CheckMyselfPanel>(E_UI_Layer.Mid);
|
|
}
|
|
}
|
|
|
|
|
|
}
|