Services Component
The Services component can be used to register asset and scene based services.
To do so, first attach the Services component to a GameObject and add a new entry to its Provides Services list.
Then drag the Object you want to register as a Service into the empty slot in the list.
If you drag a GameObject to the list a popup will open, asking you to specify which component from said GameObject you want to register as a service.
After you’ve assigned an Object to the service slot, select the defining type of the service using the dropdown button to its right.
You can define as many services as you want using a single Services component.
You can only assign components and scriptable objects to the Services Component, not plain old C# objects.
If you want to register a plain old C# object as a service using a Services component, you can create a wrapper or a value provider, and drag-and-drop that into the service slot