public override void OnEnter() { MenuDialog menuDialog = SetMenuDialog.GetActiveMenuDialog(); if (menuDialog != null && targetSequence != null) { menuDialog.ShowTimer(duration, targetSequence); } Continue(); }
public override void OnEnter() { CheckEventSystem(); MenuDialog menuDialog = SetMenuDialog.GetActiveMenuDialog(); if (menuDialog != null) { menuDialog.gameObject.SetActive(true); if (hideIfVisited && targetSequence != null && targetSequence.GetExecutionCount() > 0) { // Don't show this option } else { menuDialog.AddOption(text, targetSequence); } } Continue(); }