Register MonoBehaviour
[SerializeField]
#
Register from LifetimeScope's note
RegisterComponent are similar to RegisterInstance. The only difference is that MonoBehaviour
s registered with RegisterComponent will be injected even if not Resolved.
LifetimeScope
#
Register from scene with note
RegisterComponentInHierarchy always have a Scoped
lifetime because the lifetime is equal to the scene.
#
Register component that Instantiate from prefab when resolving#
Register component that with new GameObject when resolving#
Register component as interface#
Register component to specific parent TransformOr find at runtime.
#
Grouping MonoBehaviour's RegistrationThis is the same as:
You can create a group with a specified parent.
This is the same as: