示例#1
0
    IEnumerator EndSceneRoutine()
    {
        ChangeCamera(CameraType.BIRD);
        StartCoroutine(pathGenerator.TearDownRamp());
        uILogic.ChangeBreakdown(coinsCollected, blocksCleared, score);
        uILogic.SetPanelActive(Panel.END);
        yield return(new WaitUntil(() => pathGenerator.tearDownComplete));

        Destroy(rampObject);
        SetupScene();
    }