Example #1
0
    // Start is called before the first frame update
    void Start()
    {
        SoundMan.Instance.PlayBGM("resultbgm", 1.0f);

        //満足度の合計でランクを決定
        rank = RankManager.GetRank(GameDirector.totalSatisfyValue - (GameDirector.oilFlyHitNum * -1 * OilFlyMinus));

        var rankCtrl = GetComponent <RankController>("Rank");

        rankCtrl.DispRank = rank;


        //1日分の客の人数と決めたランクで売り上げの合計を算出
        money = SalesManager.CalcMoney(GameDirector.totalCustomerNum, rank);

        sceneFadeOut = GetComponent <SceneFadeOutSteam>("SceneFadeOutSteamManager");

        sceneFadeOut.IsStart = true;
        isStart = false;
    }