Switchboard


Switchboard provides dependency injection, a composition root, log files, zero-garbage strings, and more.


by SwipeTrack Solutions


Price History +

Documentation | Example | Forum | Support


Summary


Switchboard is an application hosting framework for Unity. It provides a composition root where you can define code that runs when you start playing, regardless of which scenes are loaded. It enables dependency injection, but without using costly reflection or code generation. A MonoBehaviour can depend on other objects which are automatically provided at run time. You don't need to load certain scenes to start, or use singletons and other static references. Any object can be easily updated with the update loop, even plain C# classes. The core library provides high performance, zero-garbage log files and strings. You can also render the true value of floating-point numbers that .NET cannot display. There are many other features included, so please see the documentation for more details.