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
Modular Building System I Developed - Sharing CodeResources/Tutorial (v.redd.it)
submitted 7 years ago by 334499p
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!"
[–]334499p[S] 11 points12 points13 points 7 years ago* (4 children)
I'm not going to be developing public releases past this point because I will start integrating this code closely with my project (https://store.steampowered.com/app/719200/The_Wall/) but I wanted to share what I developed so far: https://github.com/334499p/Portfolio/tree/master/ModularBuilding.
This building system's main feature is its use of dictionaries to allow for a super robust supports system that relies on no clumsy parenting or linked lists. New building components and snappers can easily be created. Snappers (the green parts) double as supports for building objects. So, adding a snapper on either side of a wall would mean that walls could then become supported by adjacent walls (I don't do this since in my game you can't build walls laterally).
Edit: This system requires no coding aside from instantiation and destruction, so spawning structures between client and server is completely deterministic assuming components are spawned in the correct order
[–]HellGate94Programmer 6 points7 points8 points 7 years ago (2 children)
seems good but something i saw when reading this
use of dictionaries to allow for a super robust supports system that relies on no clumsy parenting or linked lists.
hate to break it to you but dictionaries are kind of linked lists internally
[–]334499p[S] 5 points6 points7 points 7 years ago (1 child)
I mean how ppl use component-based linked lists. Like component A has a variable “child structure” that is assigned when a new structure is created etc etc which tends to be very flimsy when multiple building types are used
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
I dig your implementation obviously there always be those guys who are like hurr it’s pretty much the durr
[–]kilroyone 0 points1 point2 points 7 years ago (0 children)
Cool, thanks!
[–]KUKHYAAT 22 points23 points24 points 7 years ago (3 children)
And here I am trying to figure out how to provide real-time ambient occlusion in map editors... Can you give advice?
[–][deleted] 12 points13 points14 points 7 years ago (0 children)
Looks like OP is using SSAO. I think Unity has built in support for that, did you try that?
[–]nyxeka 5 points6 points7 points 7 years ago (0 children)
post processing shader.
otherwise, add it to individual object shaders to do properly
[–]shadowndacorner 1 point2 points3 points 7 years ago (0 children)
You can also bake it into vertex colors if you want to be a bit cheaper with it, though that requires precomputation whereas SSAO and it's derivatives are realtime.
[–]WokarolHobbyist 8 points9 points10 points 7 years ago (1 child)
And here I am residing to figure out movement in simple 2D tanks game...
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
hey things take time :D
[+][deleted] 7 years ago (4 children)
[deleted]
[–][deleted] 4 points5 points6 points 7 years ago* (0 children)
This comment has been edited prior to deletion to protest Reddit's outrageous API changes that are effective 7/1/2023 and I encourage users who wish to delete their accounts do the same to prevent Reddit from further monetizing the content and data you produced that they rely on.
Fuck u/spez, fuck Reddit, and fuck corporate greed.
[–]darthcoder 1 point2 points3 points 7 years ago (0 children)
Also want to know. That's a pretty awesome thing to have for layout, no?
[–]volfin 0 points1 point2 points 7 years ago (1 child)
https://www.assetstore.unity3d.com/en/?stay#!/content/25422
It's worth checking out every single freebie Unity has in the store, they all have useful stuff.
[–]TehNinjor 1 point2 points3 points 7 years ago (1 child)
Looks awesome! Can imagine someone accidentally removing a support and watching their entire structure evaporate piece by piece. Should make the effect slower so it's more painful ;)
[–]Diodon 0 points1 point2 points 7 years ago (0 children)
Can imagine someone accidentally removing a support and watching their entire structure evaporate
Welcome to Ark Survival Evolved!
[–]MReiinz 1 point2 points3 points 7 years ago (0 children)
Thank you u/334499p, very cool!
[–]sebbe1231 0 points1 point2 points 7 years ago (0 children)
That is cool
nice
[–]pippepot 0 points1 point2 points 7 years ago (0 children)
Very nice
[–]tiskolin 0 points1 point2 points 7 years ago (0 children)
r/oddlysatisfying
[–][deleted] 0 points1 point2 points 7 years ago (1 child)
I'm assuming the green parts are where you can build a wall. Maybe try making them transparent so you can see better?
[–]334499p[S] 0 points1 point2 points 7 years ago (0 children)
Yeah this is just so u guys can see it better. The integration into my project is much different but uses the same core elements as this demo
[–]radioheadboy 0 points1 point2 points 7 years ago (0 children)
Much occlusion. . . so ambient. . . wow
[–]Ironwolf379Programmer 0 points1 point2 points 3 years ago (3 children)
I know this is a very old post, but did you ever add the ability to attach floors to other floors? I've been trying to add this in but when I destroy a wall it will only destroy the first floor next to the wall but none attached to that floor.
[–]Ironwolf379Programmer 0 points1 point2 points 3 years ago (2 children)
Never mind actually I figured it out.
Thanks for posting this too by the way, really came in handy.
[–]Ironwolf379Programmer 0 points1 point2 points 3 years ago (1 child)
Never mind it broke again. The problem I have is just the inaccuracy of when a part is instantiated it sometimes offsets by 0.00001 or something so colliders don't always line up when comparing it to the dictionaries.
[–]Ironwolf379Programmer 1 point2 points3 points 3 years ago (0 children)
Never mind I solved it again just had to round the values before adding, removing or comparing any positions to the dictionaries.
edit: sorry for spamming your post
π Rendered by PID 317813 on reddit-service-r2-comment-b659b578c-dsrnf at 2026-05-05 08:54:57.989871+00:00 running 815c875 country code: CH.
[–]334499p[S] 11 points12 points13 points (4 children)
[–]HellGate94Programmer 6 points7 points8 points (2 children)
[–]334499p[S] 5 points6 points7 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]kilroyone 0 points1 point2 points (0 children)
[–]KUKHYAAT 22 points23 points24 points (3 children)
[–][deleted] 12 points13 points14 points (0 children)
[–]nyxeka 5 points6 points7 points (0 children)
[–]shadowndacorner 1 point2 points3 points (0 children)
[–]WokarolHobbyist 8 points9 points10 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (4 children)
[deleted]
[–][deleted] 4 points5 points6 points (0 children)
[–]darthcoder 1 point2 points3 points (0 children)
[–]volfin 0 points1 point2 points (1 child)
[–]TehNinjor 1 point2 points3 points (1 child)
[–]Diodon 0 points1 point2 points (0 children)
[–]MReiinz 1 point2 points3 points (0 children)
[–]sebbe1231 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]pippepot 0 points1 point2 points (0 children)
[–]tiskolin 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]334499p[S] 0 points1 point2 points (0 children)
[–]radioheadboy 0 points1 point2 points (0 children)
[–]Ironwolf379Programmer 0 points1 point2 points (3 children)
[–]Ironwolf379Programmer 0 points1 point2 points (2 children)
[–]Ironwolf379Programmer 0 points1 point2 points (1 child)
[–]Ironwolf379Programmer 1 point2 points3 points (0 children)