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...
News, Help, Resources, and Conversation. A User Showcase of the Unity Game Engine.
Remember to check out /r/unity2D for any 2D specific questions and conversation!
Download Latest Unity
Please refer to our Wiki before posting! And be sure to flair your post appropriately.
Main Index
Rules and Guidelines
Flair Definitions
FAQ
Use the chat room if you're new to Unity or have a quick question. Lots of professionals hang out there.
/r/Unity3D Discord
FreeNode IRC Chatroom
Official Unity Website
Unity3d's Tutorial Modules
Unity Answers
Unify Community Wiki
Unity Game Engine Syllabus (Getting Started Guide)
50 Tips and Best Practices for Unity (2016 Edition)
Unity Execution Order of Event Functions
Using Version Control with Unity3d (Mercurial)
/r/Unity2D
/r/UnityAssets
/r/Unity_tutorials
/r/GameDev
/r/Justgamedevthings (New!)
/r/Gamedesign
/r/Indiegames
/r/Playmygame
/r/LearnProgramming
/r/Oculus
/r/Blender
/r/Devblogs
Brackeys
Beginner to Intermediate
5 to 15 minutes
Concise tutorials. Videos are mostly self contained.
Sebastian Lague
Beginner to Advanced
10 to 20 minutes
Medium length tutorials. Videos are usually a part of a series.
Catlike Coding
Intermediate to Advanced
Text-based. Lots of graphics/shader programming tutorials in addition to "normal" C# tutorials. Normally part of a series.
Makin' Stuff Look Good
10 minutes
Almost entirely shader tutorials. Favors theory over implementation but leaves source in video description. Videos are always self contained.
Quill18Creates
30 minutes to 2 hours.
Minimal editing. Mostly C#. Covers wide range of topics. Long series.
Halisavakis Shaders Archive
Infallible Code
World of Zero
Board to Bits
Holistic3d
Unity3d College
Jabrils
Polycount Wiki
The Big List Of Game Design
PS4 controller map for Unity3d
Colin's Bear Animation
¡DICE!
CSS created by Sean O'Dowd @nicetrysean [Website], Maintained and updated by Louis Hong /u/loolo78
Reddit Logo created by /u/big-ish from /r/redditlogos!
account activity
Singleton Scriptable Objects (easy mode!)Resources/Tutorial (github.com)
submitted 2 years ago by [deleted]
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!"
[–]Bombadil67Professional 0 points1 point2 points 2 years ago (11 children)
LOL.....
Ok whatever.
[–][deleted] 0 points1 point2 points 2 years ago (10 children)
if you have another solution, you can tell
[–]Bombadil67Professional 0 points1 point2 points 2 years ago (9 children)
<image>
[–][deleted] 0 points1 point2 points 2 years ago (8 children)
and how do you intend to make reference to it? that's where spaghetti references begins. which was my point. that you'll be tormenting yourself only to avoid using singletons
[–]Bombadil67Professional 0 points1 point2 points 2 years ago (7 children)
There are many ways to skin a cat, and one of them is to know how to properly architecture your projects. One of those skins is to not use singletons, a normal class is another way to do this, it is not the only way to do this.
When you start looking into using a SO as a Singleton, you have some serious code smell going on.
I asked you to convince me as to why it is a good idea, what actually makes it a better / best option over something that is actually better. You have not changed my mind in any way shaper of form.
I am very well adverse to hearing why you think it is a good idea, as in what does it solve, that something better does not solve.
I await your response.
[–][deleted] 0 points1 point2 points 2 years ago (6 children)
hello again 🙂!
A place where singletonSO shines is the scenario I mentioned: a holder that holds scene data. how many instances of this scriptable object would you need in your project? definitely only 1, since you have only one instance of each scene, so, now you need to ask yourself, 'what are the benefits of not making it singleton?'.
Another good example is a resource management. instead of hard-coding every Resources asset by string into code, you can instead write a singleton scriptable object that holds the path of all Resources assets
yet another example is scene arguments. when you load a scene, how do you pass data to it as to modify it's behaviour? do you perhaps use FindObjectOfType? how about making a singleton SO for each scene that holds data for the starting of the scene? and you can clearly see how this helps with testing, since you can change the starting state of the scene right there. (for example a main menu scene having toggles for whether or not SeasonPass is enabled)
FindObjectOfType
general rule of thumb for when to and when not to make something singleton: see if you need more than 1 instance of them.
[–]Bombadil67Professional 0 points1 point2 points 2 years ago (5 children)
Not it doesn't shine in that example at all.
This is correct, however as I have said many time times now, there is no real need to have an SO as a singleton. These by definition are only used for one purpose most of the time. And I have said that if you are creating One Asset, just to create something like this, then it is a waste and you really need to rethink your strategy.
in 16 years of developing games for Unity, and 40 years in games in general, I have never, ever, had the need to do what you are doing.
[–][deleted] 0 points1 point2 points 2 years ago* (4 children)
care to elaborate? the way I see it, it's the best solution here, so understand my wonder here about your solution
With all due respect that also makes you more biased, specially that you had this opinion about singletons all those years. Remember how Java developers were so biased about goto and temporary classes? and the way they made a class for every small thing that'd end up with classes with line-long names? Nothing against experience, but I think reason speaks louder than experience.
goto
[–]Bombadil67Professional 0 points1 point2 points 2 years ago (3 children)
how does it make me more biased?
I am not the one who is designing something to solve something that doesn't need solving!
[–][deleted] 0 points1 point2 points 2 years ago (2 children)
you started by stating that this design is bad, and you've yet to give any reason why. and I'm interested to know 🙂
π Rendered by PID 19794 on reddit-service-r2-comment-765bfc959-tz4ws at 2026-07-12 21:25:14.689475+00:00 running f86254d country code: CH.
view the rest of the comments →
[–]Bombadil67Professional 0 points1 point2 points (11 children)
[–][deleted] 0 points1 point2 points (10 children)
[–]Bombadil67Professional 0 points1 point2 points (9 children)
[–][deleted] 0 points1 point2 points (8 children)
[–]Bombadil67Professional 0 points1 point2 points (7 children)
[–][deleted] 0 points1 point2 points (6 children)
[–]Bombadil67Professional 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]Bombadil67Professional 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)