One of my student is getting multiple errors in his scripts
‘Time’ does not contain a definition for ‘deltaTime’
We have re-installed and upgraded the Unity Editor (running 2020.3… LTS)
any ideas or work arounds?
One of my student is getting multiple errors in his scripts
‘Time’ does not contain a definition for ‘deltaTime’
We have re-installed and upgraded the Unity Editor (running 2020.3… LTS)
any ideas or work arounds?
I would firstly make sure they haven’t made another script called Time in their project.
Doh!
I’m current working remotely with these students (I’m currently 3 states away) and he sends me a copy of a blank’ish script.
Funny enough, it has a public class called Time.
Easy fix at least!
And now you get to teach them about the importance of not naming their classes the same as Unity’s classes.
And as a bonus, namespaces ;).