Ejemplo n.º 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);
         }
     }
 }
Ejemplo n.º 2
0
 public void SetSound(bool sound)
 {
     PlayerPrefsEncrypt.SetBool("Sound", sound);
     this.bSound = sound;
 }
Ejemplo n.º 3
0
 public void SetMusic(bool music)
 {
     PlayerPrefsEncrypt.SetBool("Music", music);
     this.bMusic = music;
     this.UpdateMusicVolume();
 }