Ejemplo n.º 1
0
    private void clearAll()
    {
        StoryModeHelp.SetActive(false);
        for (int i = 0; i < HelpContentsCommon.Length; i++)
        {
            HelpContentsCommon[i].SetActive(false);
        }

        for (int i = 0; i < HelpContents.Count; i++)
        {
            for (int j = 0; j < HelpContents[i].Length; j++)
            {
                HelpContents[i][j].SetActive(false);
            }
        }
        LeftButton.SetActive(false);
        RightButton.SetActive(false);
        return;
    }
Ejemplo n.º 2
0
 public void MoveRightPage()
 {
     if (!isCommonHelpStatus)
     {
         clearAll();
         LeftButton.SetActive(true);
         if (page == HelpContents[helpGameModeIndex].Length - 2)
         {
             RightButton.SetActive(false);
         }
         else
         {
             RightButton.SetActive(true);
         }
         HelpContents[helpGameModeIndex][page].SetActive(false);
         page++;
         HelpContents[helpGameModeIndex][page].SetActive(true);
     }
     else
     {
         clearAll();
         if (page == HelpContentsCommon.Length - 1)
         {
             HelpWindow.SetActive(false);
             LeftButton.SetActive(false);
             RightButton.SetActive(false);
             StoryModeHelp.SetActive(true);
             isCommonHelpStatus = false;
         }
         else
         {
             LeftButton.SetActive(true);
             RightButton.SetActive(true);
             HelpContentsCommon[page].SetActive(false);
             page++;
             HelpContentsCommon[page].SetActive(true);
         }
     }
     return;
 }
Ejemplo n.º 3
0
 public void CloseHelpSelectButton()
 {
     StoryModeHelp.SetActive(false);
     isCommonHelpStatus = true;
     return;
 }
Ejemplo n.º 4
0
 public void MoveToHelpSelect()
 {
     HelpWindow.SetActive(false);
     StoryModeHelp.SetActive(true);
     return;
 }