void OpenTutorialDialog(int idx) { if (index == idx && !isOpened) { TutorialDialog.PopUp(new TutorialParam() { target = gameObject, needIncrease = needIncreaseSeq, auto = needAuto, dir = direction }); isOpened = true; } }
void OpenTutorialDialog(int idx) { if (index == idx && !isOpened) { if (needPause) { Time.timeScale = 0; } TutorialDialog.PopUp(new TutorialParam() { target = gameObject, needIncrease = needIncreaseSeq, auto = needAuto, dir = direction, needDescription = m_needDescription, description = m_description }); isOpened = true; } }