コード例 #1
0
    IEnumerator Start()
    {
        TimeManager.OnSetTime(totalTimeInSecs, isTimed, gameMode);
        TimeDisplay.OnSetLaps(lapsToComplete);
        yield return(new WaitForEndOfFrame());

        Register();
    }
コード例 #2
0
    IEnumerator Start()
    {
        totalTimeInSecs = configuration.timeLap;
        isTimed         = configuration.isTimed;
        lapsToComplete  = configuration.laps;
        TimeManager.OnSetTime(totalTimeInSecs, isTimed, gameMode);
        TimeDisplay.OnSetLaps(lapsToComplete);
        yield return(new WaitForEndOfFrame());

        Register();
    }