Uploaded April 2024 | Updated September 2026, 11 hours ago
Strangler Fig, Introducing Seams and Wrap Method are just some of the refactoring techniques that will help you level up your code and help you start to think in Systems, identify where to use Patterns and uphold the Principles of Software Engineering in your Games. We're revising Stats and Modifiers to add optimizations and new features suggested by the community!
Last week's video for reference: youtu.be/gYYfrtq6MrA
Want to support me? π
Buy me a coffee! ko-fi.com/adammyhre
π Subscribe for more Unity Tutorials youtube.com/@git-amend
Discord: discord.gg/FDRZGQBBUC
#unity3d #gamedev #indiedev
β¬ Contents of this video β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬
0:00 Rules of Refactoring
1:20 Strangler Fig
2:04 Refactor 1: Linked List to List
7:22 Introducing Seams
7:55 Refactor 2: Stat Modifier Factory
11:35 Refactor 3: Operation Strategy
15:00 Refactor 4: Operations in Order
17:17 Wrap Method
20:00 Refactor 5: Caching
*Source code:* github.com/adammyhre/Unity-Stats-and-Modifiers/commits/master
Assets Shown In This Video (Affiliate Links)
Dungeon Mason Tiny Hero Duo: (FREE): assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-duo-pbr-polyart-225148?aid=1101lw3sv
Tiny Heroes: assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-wave-pbr-228701?aid=1101lw3sv
Hierarchy Icons: assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv
Better Transform: assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent--276554?aid=1101lw3sv
Better Mesh Filter: assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv
Kyeoms VFX: assetstore.unity.com/publishers/52756?aid=1101lw3sv
Pure Nature 2 : Mountains: assetstore.unity.com/packages/3d/environments/pure-nature-2-mountains-269088?aid=1101lw3sv
HIGHLANDS - Stylized Environment: assetstore.unity.com/packages/3d/environments/fantasy/highlands-stylized-environment-255775?aid=1101lw3sv
Damage Numbers Pro: assetstore.unity.com/packages/2d/gui/damage-numbers-pro-186447?aid=1101lw3sv
*Follow me!*
https://linktr.ee/gitamend
Strangler Fig, Introducing Seams and Wrap Method are just some of the refactoring techniques that will help you level up your code and help you start to think in Systems, identify where to use Patterns and uphold the Principles of Software Engineering in your Games. We're revising Stats and Modifiers to add optimizations and new features suggested by the community!
Last week's video for reference: youtu.be/gYYfrtq6MrA
Want to support me? π
Buy me a coffee! ko-fi.com/adammyhre
π Subscribe for more Unity Tutorials youtube.com/@git-amend
Discord: discord.gg/FDRZGQBBUC
#unity3d #gamedev #indiedev
β¬ Contents of this video β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬
0:00 Rules of Refactoring
1:20 Strangler Fig
2:04 Refactor 1: Linked List to List
7:22 Introducing Seams
7:55 Refactor 2: Stat Modifier Factory
11:35 Refactor 3: Operation Strategy
15:00 Refactor 4: Operations in Order
17:17 Wrap Method
20:00 Refactor 5: Caching
*Source code:* github.com/adammyhre/Unity-Stats-and-Modifiers/commits/master
Assets Shown In This Video (Affiliate Links)
Dungeon Mason Tiny Hero Duo: (FREE): assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-duo-pbr-polyart-225148?aid=1101lw3sv
Tiny Heroes: assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-wave-pbr-228701?aid=1101lw3sv
Hierarchy Icons: assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv
Better Transform: assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent--276554?aid=1101lw3sv
Better Mesh Filter: assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv
Kyeoms VFX: assetstore.unity.com/publishers/52756?aid=1101lw3sv
Pure Nature 2 : Mountains: assetstore.unity.com/packages/3d/environments/pure-nature-2-mountains-269088?aid=1101lw3sv
HIGHLANDS - Stylized Environment: assetstore.unity.com/packages/3d/environments/fantasy/highlands-stylized-environment-255775?aid=1101lw3sv
Damage Numbers Pro: assetstore.unity.com/packages/2d/gui/damage-numbers-pro-186447?aid=1101lw3sv
*Follow me!*
https://linktr.ee/gitamend










