Kyle Westran
Kyle Westran

Reputation: 31

Unity Update Method

Is there a way to have a value that is constantly being updated, eg. the current time (that the program has run) and use it in a function? basically I need the time to constantly update in my function (current time is taken from my update function)

Upvotes: 0

Views: 43

Answers (1)

Jordan
Jordan

Reputation: 117

You can access the current time using Time.time

Upvotes: 2

Related Questions