Time.time doesn't show up?
Hello, so I downloaded recently the latest version of Unity, but for some reason, I can't use Time.time, or anything Time related for some reason?
The version is 2019.3.0a6, and I do have "using UnityEngine" on my script.
Answer by noobwithafez · Jun 20, 2019 at 10:40 AM
All right, I found the problem. For some reason, if you download Unity with the Visual Studio Code package from Unity Hub, it doesn't automatically select it as the default external script editor, yet opens it as the editor when you click a script on the workspace.
Going to Unity > Preferences > External Tools and setting Code as External Script Editor fixes the problem.
Answer by killop1997 · Jun 20, 2019 at 10:25 AM
are you using Time.time in the update() method?
Nope. I'm using it in a custom function, but it doesn't work anywhere on the script.
Your answer
Follow this Question
Related Questions
Time doesn't show up? 0 Answers
Suspension of Physics 1 Answer
how to change the animation lengh by script? 0 Answers
How to create a timer that only increases when if command is true? 1 Answer
Hour Range - Do Something? 2 Answers