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

Показать описание
✅ Avoid Magic Numbers! Define simple variables with descriptive names.
👍 Learn to make awesome games step-by-step from start to finish.
💬 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.
If you have any questions post them in the comments and I'll do my best to answer them.
See you next time!
#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.
--------------------------------------------------------------------
- Other great Unity channels:
--------------------------------------------------------------------
👍 Learn to make awesome games step-by-step from start to finish.
💬 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.
If you have any questions post them in the comments and I'll do my best to answer them.
See you next time!
#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.
--------------------------------------------------------------------
- Other great Unity channels:
--------------------------------------------------------------------
Комментарии