- Home /
Getting current time from the worker thread
In the main thread I can use Time.time, but is there any way to get this value from a non-main thread? If not why? (Time.time gives "get_time can only be called from the main thread" error when used in non-main thread)
Comment
Best Answer
Answer by cjdev · May 21, 2015 at 02:18 AM
I don't think you can access it from another thread but you could always use DateTime.Now
Your answer
Follow this Question
Related Questions
Multi threading problem ! 2 Answers
Multithreading freezes editor 1 Answer
regenerating stats in update(); 1 Answer
Unity Threading Issue: Not able to delegate task 0 Answers
Multithreaded String Log Doesn't Update 0 Answers