MENU

Fun & Interesting

Improve Your Unity Code with MVC/MVP Architectural Patterns

git-amend 31,669 lượt xem 1 year ago
Video Not Working? Fix It Now

Demystify MVP and MVC Architecture for Unity in simple terms focusing on the Separation of Concerns and a practical example building an MMO style hotbar using a Model, View and Controller.

🔔 Subscribe for more Unity Tutorials https://youtube.com/@git-amend

Discord: https://discord.gg/FDRZGQBBUC

#unity3d #gamedev #indiedev

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 MVC/MVP Overview
3:51 Hotbar Overview
4:17 Model
6:17 View
9:30 Controller

*Source code:*
MVC Ability System: https://gist.github.com/adammyhre/af9eabff54f2402fe206fcb550f82cb0
ObservableList: https://gist.github.com/adammyhre/fa6451375e83bdbe230952a0da420079
Preconditions: https://gist.github.com/adammyhre/82d495ab99e2c59a19362119b2d43194
Timer.cs : https://github.com/adammyhre/3D-Platformer/blob/master/Assets/_Project/Scripts/Utils/Timer.cs

Assets Shown In This Video (Affiliate Links)
Cartoon Fantasy UI: https://assetstore.unity.com/packages/2d/gui/cartoon-fantasy-gui-74743?aid=1101lw3sv
Eole Foliage Shader: https://assetstore.unity.com/packages/vfx/shaders/eole-stylized-foliage-shaders-265842?aid=1101lw3sv
Dungeon Mason Tiny Hero Duo: (FREE): https://assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-duo-pbr-polyart-225148?aid=1101lw3sv
Kronnect Beautify: https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/beautify-3-advanced-post-processing-233073?aid=1101lw3sv
Kyeoms VFX: https://assetstore.unity.com/publishers/52756?aid=1101lw3sv

*Follow me!*
https://linktr.ee/gitamend

Comment