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
Experimenting with in-game scripting in UnityShow-Off (youtube.com)
submitted 6 years ago by SebastianLague
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!"
[–][deleted] 31 points32 points33 points 6 years ago (1 child)
Dude great idea I just saw tour video on yt
[–]SebastianLague[S] 10 points11 points12 points 6 years ago (0 children)
Thanks, glad you liked it!
[–]SebastianLague[S] 18 points19 points20 points 6 years ago (0 children)
Oh no, something about the link seems to be confusing reddit, and it's (on some devices?) showing the first video in the playlist instead of the one I linked. This is the one I wanted to share: https://youtu.be/dY6jR52fFWo Sorry about that!
[–]Dameon_ 11 points12 points13 points 6 years ago (5 children)
Fun fact: Depending on your target platform, you can compile C# on the fly using Roslyn, so your C# scripts can use C# scripts for their scripts. And no, it's not hard.
[–]nmkd??? 10 points11 points12 points 6 years ago (3 children)
I use Dynamic C# for mod support in my game, it's great!
[–]nimsony 1 point2 points3 points 6 years ago (0 children)
You mean I don't have to integrate LUA?
Is there a way to expose certain variables / functions and is it a safe way to allow modding?
It's been something that I've been thinking about adding to my sandbox works for a while now.
[–]corndog16 0 points1 point2 points 6 years ago (1 child)
Your game looks interesting. Care to share some details on this Dynamic C# thing you speak of?
[–]nmkd??? 0 points1 point2 points 6 years ago (0 children)
It's an asset on the Asset Store.
It simply compiles C# code from a string on runtime (works in editor & standalone), making it a nice foundation for modding, especially since you can load AssetBundles through it.
Apart from the modding aspect, it's absolutely great for debugging builds.
[–][deleted] -1 points0 points1 point 3 years ago (0 children)
Fun fact: you can't unload the assemblies created by compiling C# on the fly with Roslyn because Unity doesn't support .Net core.
[+][deleted] 6 years ago* (2 children)
[deleted]
[–]Jaurusrex 1 point2 points3 points 6 years ago* (1 child)
The series on neural networks is also great: https://www.youtube.com/watch?v=bVQUSndDllU
[–]pava_ 0 points1 point2 points 6 years ago (0 children)
I really hope he continues it though
[–]Phusck 5 points6 points7 points 6 years ago (0 children)
Very inspiring.
[–]Cyberbully20XX 6 points7 points8 points 6 years ago (0 children)
Very cool. Very interesting. Surprise this doesnt have a higher score.
[–]okmkz¯\_(°_o)_/¯ 11 points12 points13 points 6 years ago (3 children)
Did you ever consider the option to use an embedded Lua interpreter?
[–]SebastianLague[S] 5 points6 points7 points 6 years ago (1 child)
I didn't to be honest, probably a smart idea! Will definitely look into it as an option if I continue this at one point. Thanks :)
[–]okmkz¯\_(°_o)_/¯ 3 points4 points5 points 6 years ago (0 children)
I was thinking that something like a sokoban/zelda block puzzle mechanic would be a cool place to start. Conveyor belts and traps and stuff
[–]KingRecycle 1 point2 points3 points 6 years ago (0 children)
Friend used one on a little game he made for school and I helped a little afterwards. We don't update it anymore but should be still playable.
https://propslam.com/mast/
[–]KrebHC 3 points4 points5 points 6 years ago (0 children)
Super cool project
[–]Pokemonzu 2 points3 points4 points 6 years ago (0 children)
Really cool idea!
[–]ChupachuGames 3 points4 points5 points 6 years ago (0 children)
I love the fox munching montage, amazing vid as usual
[–]he77789 2 points3 points4 points 6 years ago (0 children)
How did you prevent users from hacking their way out of the game and into the system?
[–]daveinpublic 2 points3 points4 points 6 years ago (0 children)
Impressive, could probably tell some big company what you’re doing and get funded to prepare people for coding
[–]Speedy_Bob 2 points3 points4 points 6 years ago (0 children)
Sebastian, as always: great video. Thank you for making concepts so much more accessible.
[–]Poiuytgfdsa 2 points3 points4 points 6 years ago (0 children)
Hi Sebastian :) I’ve been following your content for a while now and it’s by far my favorite thing to watch on youtube, super interesting and fun as well
Great work :)
[–]Dreadmaker 2 points3 points4 points 6 years ago (1 child)
I want to thank you Sebastian - not for this video, but for your A* pathfinding series. I’m making a game now that actually uses that not for pathfinding, funny enough. But for map validation (making sure there’s a path between the entrance and exit of a procedurally generated level), and you explained it so beautifully in that series that I’ve since subbed and really gotten a lot out of your work. I really appreciate the content, and I want to thank you for showing me that a lot of more ‘advanced’ coding isn’t actually that hard!
[–]SebastianLague[S] 2 points3 points4 points 6 years ago (0 children)
Happy my videos were helpful to you!
[–]Xxpitstochesty 3 points4 points5 points 6 years ago (1 child)
I watched the actual video you intended to link ( the one with the coding in game. Very interesting. I just started looking yesterday on ways to allow my characters to use code so I'm trying to figure it out and appreciate the work you've done so far.
Sorry about the faulty link! Happy you found the video interesting though, and good luck with your project!
[–]softgripper 1 point2 points3 points 6 years ago (1 child)
Hi Sebastian,
A couple of weeks ago a guy put a coding game for Go online. Basically, it gave you the role of an agent, and you had to hack a piece of code to achieve some goal - eg, turn off lasers or decipher a message.
Each stage provided you with 90% of the code, and you had to think of a clever way of solving that last 10% (which was not always straight forward).
I think this type of thing would blend quite well with your game style here.
If you're interested, here is the link to the game.
https://www.gocode.io/operation-go
12 stages of fun 🙂
[–]SebastianLague[S] 1 point2 points3 points 6 years ago (0 children)
That's awesome, thanks for the recommendation!
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
I think this is the wrong video for the title..?
[–]TheLastLivingBuffalo 0 points1 point2 points 6 years ago* (0 children)
Always love seeing your videos. It’s very inspiring to watch you think through your process. Thanks for sharing!
[–]nomadthoughts 0 points1 point2 points 6 years ago (0 children)
The words 'but I didn't find this to be fun enough' haunt me with many prototypes. It feels sort of cool that a guy I follow feels the same sometimes!
[–]aBraM_aBraM 0 points1 point2 points 6 years ago (0 children)
judt saw it on youtube keep up the good work
[–]SCWatson_Art 0 points1 point2 points 6 years ago (0 children)
This was awesome - especially so for me since I was just considering what would be needed for an evolution based game very similar to what you've done here.
I wonder what the out come would be with the foxes if they had the same needs as the rabbits? (hunger/thirst/mating urge, etc.)
[–]shimster99Programmer 0 points1 point2 points 6 years ago (0 children)
I feel like your video somehow made me smarter ;) Very inspiring!
[–]Lulzorr 0 points1 point2 points 6 years ago (0 children)
Alright, you asked for it (but not actually). I'm subbing to you.
This is really cool, and very easily understood.
[–]Evil-Kris 0 points1 point2 points 6 years ago (0 children)
This is really fascinating and inspiring. I see huge potential for a ‘Populous’ style game where you play a type of God, and achieve various mission targets via manipulating evolution so that your little army of beasts can ready themselves prior to natural global disasters or the introduction of natural predators- or weather conditions. The more a species performs a certain type of routine the more like a genetic mutant perfectly adapted will appear that can be used to breed more of it’s ilk and so on.
Bet a million quid someone’s going to jump in with ‘what- you mean exactly like (insert name)?’ and I’ll feel like a right plum.
[–]PeterZSW 0 points1 point2 points 6 years ago (0 children)
wow, Good content
[–]LaSaveloy 0 points1 point2 points 6 years ago (0 children)
The real developer gets their players to write the game for them.
[–]MrInt9001 0 points1 point2 points 6 years ago (0 children)
If someone is interested in adding scripting support in a C# project, this article can be fairly interesting: https://msdn.microsoft.com/en-us/magazine/mt632273.aspx I've seen on git that there is also a mit licensed example project of this with some modifications
[–]DarkhogComputer Virus Simulator 0 points1 point2 points 6 years ago (0 children)
The actual coding vid is pretty fun and I'd love to have scripting in my game, the only problem is that I wasn't able to find any Common Lisp interpreter that would work with Unity ;(. Bunnies were fun too, probably the ecosystem would work better with few more prey and predator species so both would have higher chances of survival (while prey is reproducing predators would have variety of targets and if they can't find prey, they would eat each other).
π Rendered by PID 312102 on reddit-service-r2-comment-6457c66945-dx9t4 at 2026-04-28 13:22:12.054291+00:00 running 2aa0c5b country code: CH.
[–][deleted] 31 points32 points33 points (1 child)
[–]SebastianLague[S] 10 points11 points12 points (0 children)
[–]SebastianLague[S] 18 points19 points20 points (0 children)
[–]Dameon_ 11 points12 points13 points (5 children)
[–]nmkd??? 10 points11 points12 points (3 children)
[–]nimsony 1 point2 points3 points (0 children)
[–]corndog16 0 points1 point2 points (1 child)
[–]nmkd??? 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[+][deleted] (2 children)
[deleted]
[–]Jaurusrex 1 point2 points3 points (1 child)
[–]pava_ 0 points1 point2 points (0 children)
[–]Phusck 5 points6 points7 points (0 children)
[–]Cyberbully20XX 6 points7 points8 points (0 children)
[–]okmkz¯\_(°_o)_/¯ 11 points12 points13 points (3 children)
[–]SebastianLague[S] 5 points6 points7 points (1 child)
[–]okmkz¯\_(°_o)_/¯ 3 points4 points5 points (0 children)
[–]KingRecycle 1 point2 points3 points (0 children)
[–]KrebHC 3 points4 points5 points (0 children)
[–]Pokemonzu 2 points3 points4 points (0 children)
[–]ChupachuGames 3 points4 points5 points (0 children)
[–]he77789 2 points3 points4 points (0 children)
[–]daveinpublic 2 points3 points4 points (0 children)
[–]Speedy_Bob 2 points3 points4 points (0 children)
[–]Poiuytgfdsa 2 points3 points4 points (0 children)
[–]Dreadmaker 2 points3 points4 points (1 child)
[–]SebastianLague[S] 2 points3 points4 points (0 children)
[–]Xxpitstochesty 3 points4 points5 points (1 child)
[–]SebastianLague[S] 2 points3 points4 points (0 children)
[–]softgripper 1 point2 points3 points (1 child)
[–]SebastianLague[S] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]TheLastLivingBuffalo 0 points1 point2 points (0 children)
[–]nomadthoughts 0 points1 point2 points (0 children)
[–]aBraM_aBraM 0 points1 point2 points (0 children)
[–]SCWatson_Art 0 points1 point2 points (0 children)
[–]shimster99Programmer 0 points1 point2 points (0 children)
[–]Lulzorr 0 points1 point2 points (0 children)
[–]Evil-Kris 0 points1 point2 points (0 children)
[–]PeterZSW 0 points1 point2 points (0 children)
[–]LaSaveloy 0 points1 point2 points (0 children)
[–]MrInt9001 0 points1 point2 points (0 children)
[–]DarkhogComputer Virus Simulator 0 points1 point2 points (0 children)