Skip to content

Unity Mini MVCS (Model-View-Controller-Service) Architecture. This has NO dependency on MonoBehaviours. Created by (RMC) Rivello Multimedia Consulting.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

SamuelAsherRivello/rmc-mini-mvcs

Repository files navigation

npm package License: MIT



RMC Architectures

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


RMC Mini Mvcs Architecture - For Unity



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!



MVC Architecture For Unity - Udemy Course

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!


Table Of Contents

How to use

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!



Install

Via NPM

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.



Via Git URL

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"
  }
}


Tests

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" ]
}


Samples

Some packages include optional samples with clear use cases. To import and run the samples:

  1. Open Unity
  2. Complete the package installation (See above)
  3. Click Unity Menu Option: Tutorials → Reset PackageInstalled Switch to validate dependencies
  4. Open the Package Manager Window
  5. Select this package
  6. Select samples
  7. Import


Configuration



Credits

Created By

  • Samuel Asher Rivello
  • Over 25 years XP with game development (2024)
  • Over 11 years XP with Unity (2024)

Contact

License

Provided as-is under MIT License | Copyright ™ & © 2006 - 2024 Rivello Multimedia Consulting, LLC

About

Unity Mini MVCS (Model-View-Controller-Service) Architecture. This has NO dependency on MonoBehaviours. Created by (RMC) Rivello Multimedia Consulting.

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks