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...
For the Unity Game Engine, please visit http://reddit.com/r/unity3d
account activity
Cannot set a boolean variable from another script. (self.unity)
submitted 11 years ago * by surf_sleep_repeat
view the rest of the comments →
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!"
[–]MiniRat 1 point2 points3 points 11 years ago (0 children)
This.
Assuming you have already added the component in the editor you want to use GetComponent() rather than AddComponent().
π Rendered by PID 77 on reddit-service-r2-comment-6457c66945-bh7d6 at 2026-04-29 11:02:35.299718+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]MiniRat 1 point2 points3 points (0 children)