Assets/Scripts/Custom/EndScreen.cs
/// <summary>
/// Setting the text for the UI-Element displaying the remaining time since the last caught ghost
/// </summary>
Setting the text for the UI-Element displaying the remaining time since the last caught ghost
Setting the text for the UI - Element displaying the remaining time since the last caught ghost
public void SetEndScreenInfo()
    {
        if (score.caughtGhosts != 0)
        {
            LastCaughtTime.text = "Geister: " + score.caughtGhosts.ToString() + "\n";
            LastCaughtTime.text += "Benutzte PowerUps: " + powerUp.GetUsagesAsString();
        }
    }
public void SetEndScreenInfo ( ) { if ( score . caughtGhosts != 0 ) { LastCaughtTime . text = " " + score . caughtGhosts . ToString ( ) + " \n " ; LastCaughtTime . text += " " + powerUp . GetUsagesAsString ( ) ; } }
Setting the text for the UI-Element displaying the remaining time since the last caught ghost
Setting the text for the UI - Element displaying the remaining time since the last caught ghost