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