예제 #1
0
 public void tapExit()
 {
     One.PlaySoundEffect(Fix.SOUND_SELECT_TAP);
     if (this.systemMessage.text == this.MESSAGE_1 || this.systemMessage.text == this.MESSAGE_2)
     {
         HideAllChild();
     }
     else if (this.nowAutoKill)
     {
         if (One.AfterBacktoTitle)
         {
             SceneDimension.JumpToTitle();
         }
         else if (One.Parent.Count > 0)
         {
             One.Parent[One.Parent.Count - 1].NextScene();
         }
     }
     else if (One.AfterBacktoTitle)
     {
         SceneDimension.JumpToTitle();
     }
     else
     {
         SceneDimension.Back(this);
     }
 }
예제 #2
0
 public void NextScene()
 {
     Resources.UnloadUnusedAssets();
     //Application.UnloadLevel(Fix.Title);
     //Application.UnloadLevel(Fix.SaveLoad);
     if (One.TF.SaveByDungeon)
     {
         SceneDimension.JumpToDungeonField(One.TF.CurrentDungeonField);
     }
     else
     {
         SceneDimension.JumpToHomeTown();
     }
 }