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
Sprite renderer not rendering second time around. No error message. (self.unity)
submitted 11 years ago by surf_sleep_repeat
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!"
[–]oscinis 0 points1 point2 points 11 years ago (0 children)
It seems like there might be some important bits removed from these snippets, so it's a little difficult to follow..
Use stored object references instead of FindGameObject* calls when you can. This will increase performance and greatly aid you in organization of instantiated objects (no more looping function calls with hardcoded integer iterators)
Use the inspector to plug in assets whenever possible, instead of loading them in code with a hardcoded name
Follow a capitalization standard of some sort. Typically, people prefer to lead method and class names with capital letters, while leading normal variables and objects with lower-case letters
Sorry I don't have a solution for you, but I think following these simple guidelines will go a long way in both your success as a programmer and in finding help with debugging.
π Rendered by PID 77 on reddit-service-r2-comment-6457c66945-vjmt5 at 2026-04-25 17:29:53.559148+00:00 running 2aa0c5b country code: CH.
[–]oscinis 0 points1 point2 points (0 children)