Question by
Giganex · Jan 25, 2020 at 10:14 PM ·
scripting problem
How did the scripts change?
I'm getting back to unity and remember some of the scripts, but they changed in the past year or 2 and the documentation isn't updated far enough.
I remember I used to be able to assign a variable to a component using getComponent, but that doesn't seem to work. Please help, I don't remember well enough to check my code or let the auto code updater work.
And I know for sure the scripting api needs thorough updating because I did exactly what was in the navMeshAgent section and the script auto updated.
Comment
And what is your question precisely?
GetComponent
works the same way as 2 years ago.
Your answer
