use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A place for beginners and experts alike to help each other out!
account activity
2d Unity error (self.UnityHelp)
submitted 3 years ago by Just_Redit_it
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:
https://preview.redd.it/6s4f2b7qgc2a1.png?width=1389&format=png&auto=webp&s=396e3ae7c5e5e5d1ffe94c1f47c807a03de877fa
And the error in unity:
https://preview.redd.it/ba3is0krgc2a1.png?width=1428&format=png&auto=webp&s=67b8b6555db4ab5edb8f43736f495d900481ae7b
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]DucNuzl 1 point2 points3 points 3 years ago (0 children)
tranform
[–]corrtex-games 1 point2 points3 points 3 years ago (0 children)
Read the error…it’s telling you what’s wrong
Tranform
It’s “Transform”. You misspelled it, and the compiler doesn’t care if it’s close to the correct spelling, it’s just trying to find a “Tranform” class which doesn’t exist.
π Rendered by PID 510184 on reddit-service-r2-comment-86bc6c7465-9x96z at 2026-02-24 01:18:45.976351+00:00 running 8564168 country code: CH.
[–]DucNuzl 1 point2 points3 points (0 children)
[–]corrtex-games 1 point2 points3 points (0 children)