Rivello Multimedia Consulting has multiple frameworks for MVC in Unity.
-- | Requires MonoBehaviour? | Lightweight? | More Info | Created | Updated |
---|---|---|---|---|---|
uMVCS | ✔️ | ✔️ (Light) | rmc-umvcs | 2018 | 2023 |
Mini MVCS | ❌ | ✔️ (Even Lighter!) | See Below | 2023 | 2024 |
Mini MVCS is a custom Unity library framework embracing the MVCS architecture.
- One of many solutions for organizing a Unity project efficiently. It may or may not be the best solution for you.
- Features few classes and a flexible pattern. Following the conventions of MVCS requires discipline as the system is purposefully light and flexible. For example the a model instance can access another model instance, but it is recommended not to do so.
- The library has no requirement on MonoBehaviour. Using MonoBehaviours is optional.
Enjoy!
Welcome to MVC Architecture For Unity!
This is the official repo for the online course.
The course gives you the training to create and maintain Unity projects which are faster to develop and easier to maintain.
COURSE TRAILER VIDEO:
COURSE LINK:
FEATURES:
- Rockstar content - Everything you DO need. Just the most relevant, powerful info!
- Punk-rock editing - Nothing you DON'T need. No "ums", no waiting, no fluff!
TAKEAWAY:
- After this course you will be confident to design and develop new projects with Unity and MVC
INCLUDED SECTIONS:
- Course Introduction - Set the vision and goals for the course
- Unity Overview - Review the popularity and power of Unity as a game engine
- Software Design - Gain insight on the design principles of master software developers
- Mini MVCS - Dive deep into this light, powerful architectural framework
- Sample Projects - Together we'll review 4 complete Unity projects
- Course Conclusion - Review the highlights, celebrate success, and set clear next steps
- EXTRA Content - With the foundation of MVC architecture, we'll add the power of Unit Testing and TDD
WHY WAIT?
- Avoid the common pitfalls with creating, maintaining, and scaling Unity projects
- You can't afford NOT to use Unit Testing and Test-Driven development on your projects
- Let's do this!
Mini MVCS is a custom Unity library framework embracing the MVCS architecture.
- One of many solutions for organizing a Unity project efficiently. It may or may not be the best solution for you.
- Features few classes and a flexible pattern. Following the conventions of MVCS requires discipline as the system is purposefully light and flexible. For example the a model instance can access another model instance, but it is recommended not to do so.
- The ibrary has no requirement on MonoBehaviour. Using MonoBehaviours is optional.
Enjoy!
You can either use the Unity Package Manager Window (UPM) or directly edit the manifest file. The result will be the same.
UPM
To use the Package Manager Window, first add a Scoped Registry, then click on the interface menu ( Status Bar → (+) Icon → Add Package By Name ...
). Then enter the value from the snippet just below.
Manifest File
Or to edit the Packages/manifest.json
directly with your favorite text editor, add a scoped registry then the following line(s) to dependencies block:
{
"scopedRegistries": [
{
"name": "npmjs",
"url": "https://registry.npmjs.org/",
"scopes": [
"com.rmc"
]
}
],
"dependencies": {
"com.rmc.rmc-mini-mvcs": "2.3.2"
}
}
Package should now appear in package manager.
You can either use the Unity Package Manager (UPM) Window or directly edit the manifest file. The result will be the same.
UPM
To use the Package Manager Window click on the interface menu ( Status Bar → (+) Icon → Add Package From Git Url ...
). Then enter the value from the snippet just below.
Manifest File
Or to edit the Packages/manifest.json
directly with your favorite text editor, add following line(s) to the dependencies block:
{
"dependencies": {
"com.rmc.rmc-mini-mvcs": "https://github.com/SamuelAsherRivello/rmc-mini-mvcs.git"
}
}
The package can optionally be set as testable. In practice this means that tests in the package will be visible in the Unity Test Runner.
Open Packages/manifest.json
with your favorite text editor. Add following line after the dependencies block:
{
"dependencies": {
},
"testables": [ "com.rmc.rmc-mini-mvcs" ]
}
Some packages include optional samples with clear use cases. To import and run the samples:
- Open Unity
- Complete the package installation (See above)
- Click Unity Menu Option:
Tutorials → Reset PackageInstalled Switch
to validate dependencies - Open the Package Manager Window
- Select this package
- Select samples
- Import
Unity Target
- Standalone MAC/PCUnity Version
- Any Unity Editor 2022.x or higherUnity Rendering
- Any Unity Render PipelineUnity Aspect Ratio
- Any Unity Game View
Created By
- Samuel Asher Rivello
- Over 25 years XP with game development (2024)
- Over 11 years XP with Unity (2024)
Contact
- Twitter - @srivello
- Git - github.com/SamuelAsherRivello
- Resume & Portfolio - SamuelAsherRivello.com
- LinkedIn - Linkedin.com/in/SamuelAsherRivello <--- Say Hello! :)
License
Provided as-is under MIT License | Copyright ™ & © 2006 - 2024 Rivello Multimedia Consulting, LLC