示例#1
0
 public void GuideBattleNext()
 {
     if (this.GetNeedGuide())
     {
         this.RemoveLastGuide();
         this.guideStep++;
         switch (this.guideStep)
         {
         case 1:
         case 2:
         case 3:
             this.currentobj = this.GetGuideObj(this.guideStep);
             GameLogic.Release.Mode.RoomGenerate.AddGuildToMap(this.currentobj);
             break;
         }
         if (this.guideStep == 3)
         {
             PlayerPrefsEncrypt.SetBool("guide_battle", true);
             this.bBattleNeedGuide = false;
             LocalSave.Instance.SaveExtra.SetGuideBattleProcess(1);
         }
     }
 }
示例#2
0
 public void SetSound(bool sound)
 {
     PlayerPrefsEncrypt.SetBool("Sound", sound);
     this.bSound = sound;
 }
示例#3
0
 public void SetMusic(bool music)
 {
     PlayerPrefsEncrypt.SetBool("Music", music);
     this.bMusic = music;
     this.UpdateMusicVolume();
 }