コード例 #1
0
ファイル: GameManager.cs プロジェクト: AshelCloud/Project-I
    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();
    }