20 Advanced Coding Tips For Big Unity Projects
About
No channel description available.
Latest Posts
Video Description
End spaghetti code! Learn the tools you need to write scalable, well-structured, clean code. So many game developers are forced to scrap their ambitious Unity games because they don't know these tips. As a young, self taught game developer, I didn’t discover these tools and techniques for years. Hopefully this video will help you to skip the learning curve and expose you to some of the more advanced programming devices that don’t get enough attention from the plethora of beginner Unity tutorials. //chapters 00:00 - Intro 01:12 - Variable Names 02:11 - Comments 02:58 - Encapsulate in Functions 03:36 - Plan Your Code 03:57 - C# Properties 04:38 - Serialize Field 05:02 - Component Architecture 06:00 - Enums 06:25 - Coroutines 07:32 - Invoke/Invoke Repeating 08:03 - Structs 08:50 - Singletons 10:38 - C# Events 12:34 - Unity Events 12:56 - Interfaces 14:34 - Inheritance 17:50 - Scriptable Objects 19:15 - Custom Editor Tools 20:25 - Use Version Control 21:00 - Refactor Often 21:38 - Outro //socials Instagram: tesseract.yt TikTok: tesseractyt //long description So you finally decided to begin work on your “dream game”, a fantasy MMO RPG sandbox battle royale powered by a blockchain economy. What could possibly go wrong? Then, two months later, progress comes to a grinding halt. You have scripts that are a thousand lines long, you’ve forgotten what your old code does, adding new features means you have to rewrite three old ones, every script relies on every other one, and overall, your project becomes an unorganized, unmanageable, confusing, dumpster fire of spaghetti code. Tragically, you are forced to scrap the project and give up on your game dev dreams. Sound familiar? There are hundreds of hours of Unity tutorials online, but very few are geared towards more advanced developers aiming to create large scale commercial games. That’s why I’ve compiled a list of some of the most valuable unity coding tips that I’ve learned over the years, along with examples of how I’ve actually used these techniques in my own game. Hopefully, by the end of the video, you’ll have the tools you need to write scalable, well structured, clean code that won’t come back to bite you down the road. //music Evan King - Nightmares and Violent Shapes https://www.youtube.com/channel/UCT1Z... https://contextsensitive.bandcamp.com/ Internet Historian: Sthlm Sunset - Ehrling, A.X - Ehrling, Night Out - LiQWYD https://www.youtube.com/watch?v=wS5R3LnXC2o Music from Uppbeat (free for Creators!): https://uppbeat.io/t/mountaineer/fly-away License code: VVIYH4NIZH0ARSHF https://uppbeat.io/t/hartzmann/joyful-lights License code: AMYFJECHAZAJGCMI https://uppbeat.io/t/swoop/lucidity License code: Z6V3SJ5TMSRFUKKU https://uppbeat.io/t/movediz/summer-vibes License code: F9CFDRM8JFBQIVOD //hashtags #unity #unity3d #unitytutorial #gamedevelopment #coding #programming #indiegame #cleancode #codingtips
You May Also Like
Boost Your Unity Projects Today
AI-recommended products based on this video

Apple AirPods Pro 2 Wireless Earbuds, Bluetooth Headphones, Active Noise Cancellation, Transparency, Personalized Spatial Audio, High-Fidelity Sound, H2 Chip, USB-C Charging

Google Pixel Buds Pro 2 - Noise Canceling Earbuds - Up to 31 Hour Battery Life with Charging Case - Bluetooth Headphones - Compatible with Android - Hazel

45W 65W Laptop Charger for Lenovo Thinkpad X1 Carbon T460 T470 T470S T440 T540 X260 X240 X270 G40 G50 G50-80 E560 E450, Yoga 2 11/2 Pro/ 11s 13 Flex 2 2-15 Ideapad 300 500 700 Power Supply Cord

STARTRC GAMES Hard Carrying Case for Nintendo Switch 2, Professional Deluxe IP67 Waterproof, Soft Lining Hard Travel Case for Nintendo Switch 2 Console Pro Controller & Accessories (Black)

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech K400 Plus Wireless Touch TV Keyboard With Easy Media Control and Built-in Touchpad, HTPC Keyboard for PC-connected TV, Windows, Android, Chrome OS, Laptop, Tablet - Black

Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

Head Strap with Battery for Oculus Quest 2, 7500mAh Extend 4-5H Playtime, Adjustable Comfort Elite Head Strap Replacement, Lightweight Design and Enhanced Support in VR for Oculus/Meta Quest 2

Charging Dock for Meta Quest 3S/Quest 3, YUANHOT Fast Charging Station with Color RGB Light for Oculus Quest 3S/3 Accessories, Magnetic Charger Stand for Headset/Controller with 2 Rechargeable Battery

Joystick Replacement Kit for Oculus Quest 2/3 Controller, Repair Kit for Meta Quest 2/3 Controller, Include 2 Joysticks, T5 Screwdriver, Tweezer, Pry Tool, 4 Thumbstick Grips (Black-11-in one)










