Pierre Angelo

Generation

generate functionWed, 05 Apr 2023

¿Cómo mostrar por pantalla el resultado del tiempo transcurrido en una escena diferente en unity?

void OnTriggerEnter(Collider other){ if(other.gameObject.name == "Player"){ float tiempo_transcurrido = Time.timeSinceLevelLoad; print("Tiempo transcurrido: " + tiempo_transcurrido); } }

Questions about programming?Chat with your personal AI assistant