private IEnumerator LoadMap(string mapName, string linkingPortalName) { loader.ActiveFadeIn(); yield return(new WaitUntil(() => loader.FadedValue >= 1f)); mapLoader.LoadMap(mapName, linkingPortalName); yield return(new WaitUntil(() => mapLoader.Loaded)); loader.ActiveFadeOut(); }