コード例 #1
0
 public void HowToPlayButton()
 {
     SoundManager.Get().PlaySound(SoundManager.SoundID.BUTTON_CLICK);
     //Application.LoadLevel((int)SceneID.MOVE_AND_FIRE);
     if (howToPlayMenu != null)
     {
         if (!howToPlayMenu.enabled)
         {
             howToPlayMenu.enabled = true;
             if (optionsMenu != null)
             {
                 if (optionsMenu.enabled)
                 {
                     optionsMenu.enabled = false;
                 }
             }
         }
         else
         {
             howToPlay.ResetImages();
             howToPlayMenu.enabled = false;
         }
     }
 }