Beispiel #1
0
 public void ChangeSong(RhythmMap map, bool restart)
 {
     activeMap.Pause();
     if (restart)
     {
         map.RestartSong();
     }
     else
     {
         map.Unpause();
     }
     activeMap = map;
 }
Beispiel #2
0
 void Start()
 {
     maps      = GetComponentsInChildren <RhythmMap>();
     activeMap = maps[startingActiveMapNumber];
 }