修改注册事件调用时间
This commit is contained in:
parent
9e83a5e606
commit
88a543934d
|
@ -41,13 +41,13 @@ public class PermanentTriggerBase : MonoBehaviour
|
|||
{
|
||||
if (GetComponent<HighlightEffect>())
|
||||
_highlight = GetComponent<HighlightEffect>();
|
||||
GameManager.EventMgr.AddEventListener<string>(Enum_EventType.SwitchSubProcessStepTriggerID, SwitchSubProcessStepTriggerID);
|
||||
}
|
||||
/// <summary>
|
||||
/// Start
|
||||
/// </summary>
|
||||
protected virtual void OnStart()
|
||||
{
|
||||
GameManager.EventMgr.AddEventListener<string>(Enum_EventType.SwitchSubProcessStepTriggerID, SwitchSubProcessStepTriggerID);
|
||||
}
|
||||
private void OnMouseEnter()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue