c# – Creating a simple countdown timer in unity

Hello’s I was looking for a way to do a countdown timer in unity and stumbled across this solution :

public float timeRemaining = 10;

private void Update()
{
    if (timeRemaining > 0)
    {
        timeRemaining -= Time.deltaTime;
    }
    else
    {
        WinGame();
    }
}

Which at first seemed pretty elegant and easy to use, however, I was thinking about it, and wouldn’t this be inconsistent for players with different FPS?

For example, if the player has 60 FPS vs 30 fps it would take longer for the player having 60 FPS to reach 0 on time remaining.