P
P
Pragma Games2022-03-28 17:34:32
Unity
Pragma Games, 2022-03-28 17:34:32

How to calculate the time spent on a level?

What is the best way to count real time in unity or c# if it is calculated in minutes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Farawa, 2022-03-28
@Farawa

you make a float field, into which you write down the start time of the level through Time.time, at the end you subtract this value from the current time and get the time spent in seconds

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question