Example #1
0
 /// <summary>
 /// Starts loading the next available level.
 /// </summary>
 public void LoadNextLevel()
 {
     if (!m_LoadNextLevelRoutine.IsRunning())
     {
         m_LoadNextLevelRoutine = this.SmartCoroutine(QueueLevelAt(currentLevelIndex + 1));
     }
 }
Example #2
0
 public void LoadScene(string inNextScene, SequenceBuilder inLoadSequence = null)
 {
     Assert.True(!m_Routine.IsRunning(), "Routine is not running.");
     m_Routine = this.SmartCoroutine(LoadScene_Routine(inNextScene, inLoadSequence));
 }