Back to Browse

Top 10 Tips: Clean C# Code for Unity Developers

16.6K views
Mar 22, 2021
11:44

Today we will learn 10 tips on writing clean code. We are going to see them in action using a popular game dev mechanic: an FPS controller. There is really great content for Unity developers out there! It will teach you how to implement various game mechanics or effects, but almost none of them put emphasis on writing a clean code and don't put any emphasis on it. Let’s fix that today and see how to write clean, readable, and easy to comprehend code. ------NEW! Patreon------ https://www.patreon.com/gamedevchef ------Project on Github------ https://github.com/GameDevChef/CleanCode/tree/Clean_Version ------Starting Package------ https://drive.google.com/file/d/19uuZVfDufGGpzs1sMMI-H_JJnv5tOwCm/view?usp=sharing or https://github.com/GameDevChef/CleanCode/tree/Dirty_Code ------Assets------ Soldier: https://assetstore.unity.com/packages/3d/characters/humanoids/toon-soldiers-ww2-demo-85702 Low-poly Simple Nature Pack: https://assetstore.unity.com/packages/3d/environments/landscapes/low-poly-simple-nature-pack-162153 Low Poly Weapons VOL.1 https://assetstore.unity.com/packages/3d/props/guns/low-poly-weapons-vol-1-151980 Fog of War Gun Sound FX Free https://assetstore.unity.com/packages/audio/sound-fx/weapons/fog-of-war-gun-sound-fx-free-66100#content Stylized Terrain Texture https://assetstore.unity.com/packages/2d/textures-materials/floors/stylized-terrain-texture-153469

Download

1 formats

Video Formats

360pmp422.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Top 10 Tips: Clean C# Code for Unity Developers | NatokHD