Pierre Angelo

Generation

generate functionWed, 05 Apr 2023

¿Cómo mostrar por pantalla el tiempo transcurrido en unity?

void Start () { timeLeft = 1.0f; } void Update () { timeLeft -= Time.deltaTime; if(timeLeft < 0) { timeLeft = 1.0f; print("time left : " + timeLeft); } }

Questions about programming?Chat with your personal AI assistant