Beispiel #1
0
    private IEnumerator BecomeActiveWaypoint(int duration)
    {
        renderer.enabled = true;
        yield return(new WaitForSeconds(duration));

        Score.AddMissedTask(pointsWorth);
        renderer.enabled = false;
    }