示例#1
0
 void OpenTutorialDialog(int idx)
 {
     if (index == idx && !isOpened)
     {
         TutorialDialog.PopUp(new TutorialParam()
         {
             target = gameObject, needIncrease = needIncreaseSeq, auto = needAuto, dir = direction
         });
         isOpened = true;
     }
 }
示例#2
0
    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;
        }
    }