Each provider in the provider list gives dependencies from one source. By default, the list holds the four providers that ship with Selvage.

Every object you provide has a lifetime, which decides whether members share one object, each receive their own, or borrow one from a pool.

Topics

TopicDescription
Provide scene componentsProvide components from the same GameObject or from the loaded scenes.
Provide your own classesProvide instances of plain C# classes marked [Provide].
Provide assetsProvide ScriptableObjects, prefabs and other assets with a Provide Definition.
Provide objects your code createsProvide objects your code creates, with the registry or a local block.
Choose between several candidatesDecide which member receives which object when several could fit.
LifetimesDecide whether members share an object, each receive their own, or borrow one from a pool, and how long a shared object lasts.