コード例 #1
0
ファイル: BoardEditor.cs プロジェクト: satirikasha/MatchThree
 public void New()
 {
     if (MessageBox.Show("Your current progress will be lost. \n Do you want to proceed?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
     {
         Application.LoadLevelAsync(Application.loadedLevel);
     }
 }
コード例 #2
0
 public static void LoadLevelAdditive(string name)
 {
     Application.LoadLevelAsync(name, -1, true, true);
 }
コード例 #3
0
 public static void LoadLevelAdditive(int index)
 {
     Application.LoadLevelAsync(null, index, true, true);
 }
コード例 #4
0
 public static AsyncOperation LoadLevelAdditiveAsync(string levelName)
 {
     return(Application.LoadLevelAsync(levelName, -1, true, false));
 }
コード例 #5
0
 public static AsyncOperation LoadLevelAdditiveAsync(int index)
 {
     return(Application.LoadLevelAsync(null, index, true, false));
 }
コード例 #6
0
 public static void LoadLevel(string name)
 {
     Application.LoadLevelAsync(name, -1, false, true);
 }
コード例 #7
0
 public static void LoadLevel(int index)
 {
     Application.LoadLevelAsync(null, index, false, true);
 }