Pierre Angelo

Generation

generate functionWed, 05 Apr 2023

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

/* // In the beginning of the game private float startTime; private float ellapsedTime; void Start() { startTime = Time.time; } // In each frame void Update() { ellapsedTime = Time.time - startTime; Debug.Log("Elapsed time: " + ellapsedTime); } */

Questions about programming?Chat with your personal AI assistant