Pierre Angelo

Generation

generate functionWed, 05 Apr 2023

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

int tiempo = 0; void Update () { tiempo += Time.deltaTime; } void OnGUI () { GUI.Label(new Rect(10, 10, 100, 20), new GUIContent(""+tiempo)); }

Questions about programming?Chat with your personal AI assistant