r/UnityHelp • • Nov 26 '22

2d Unity error

Help! I'm doing a top down shooter in unity and are creating a simple enemy follow, this is also the base of other scripts and I'm getting an error. How do I fix it?

The code:

And the error in unity:

2 Upvotes

2 comments sorted by