Unity Tip: Magic Numbers! #shorts #unity #gamedev



✅ Avoid Magic Numbers! Define simple variables with descriptive names.
🌍 Get my Complete Courses! ✅ https://unitycodemonkey.com/courses
👍 Learn to make awesome games step-by-step from start to finish.
🎮 Get my Steam Games https://unitycodemonkey.com/gamebundle

💬 Magic Numbers are numbers in your code that are not immediately clear what they do.
They reduce code readability so avoid them at all costs.
Instead make them into proper variables with good names that clearly explain what the number refers to.

🌍 Quick Unity Tips Playlist https://www.youtube.com/playlist?list=PLzDRvYVwl53uHV36abTLYNmg5jHGQ7SI4

If you have any questions post them in the comments and I’ll do my best to answer them.

🔔 Subscribe for more Unity Tutorials https://www.youtube.com/channel/UCFK6NCbuCIVzA6Yj1G_ZqCg?sub_confirmation=1

See you next time!

📍 Support on Patreon https://www.patreon.com/unitycodemonkey
🤖 Join the Community Discord https://discord.gg/eHjUVrm
🎮 Grab the Game Bundle at https://unitycodemonkey.com/gameBundle.php
📝 Get the Code Monkey Utilities at https://unitycodemonkey.com/utils.php

#unitytutorial #unity3d #unity2d #unity​ #gamedev​ #indiegame​ #gamedevelopment #madewithunity​ #indiedev​

——————————————————————–

Hello and Welcome!
I’m your Code Monkey and here you will learn everything about Game Development in Unity using C#.

I’ve been developing games for several years with 8 published games on Steam and now I’m sharing my knowledge to help you on your own game development journey.

I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.

You can see my games at www.endlessloopstudios.com

——————————————————————–
– Other great Unity channels:
Brackeys – https://www.youtube.com/user/Brackeys
Dani – https://www.youtube.com/channel/UCIabPXjvT5BVTxRDPCBBOOQ
Jabrils – https://www.youtube.com/channel/UCQALLeQPoZdZC4JNUboVEUg
BlackthornProd – https://www.youtube.com/channel/UC9Z1XWw1kmnvOOFsj6Bzy2g
Sykoo – https://www.youtube.com/user/SykooTV
Jason Weimann – https://www.youtube.com/channel/UCX_b3NNQN5bzExm-22-NVVg
Jonas Tyroller – https://www.youtube.com/channel/UC_p_9arduPuxM8DHTGIuSOg
——————————————————————–

– Website: https://unitycodemonkey.com/
– Twitter: https://twitter.com/UnityCodeMonkey
– Steam: https://store.steampowered.com/developer/EndlessLoopStudios

Source

KA2Studio
Logo
Compare items
  • Total (0)
Compare
0