Class ChildrenCompositeMonoInstaller
A variant of MonoInstaller
that locates and installs other MonoInstallers in the same GameObject and its children.
Inheritance
Object
Component
Behaviour
MonoBehaviour
ChildrenCompositeMonoInstaller
Namespace: AlchemyBow.Core.Extras.Installers
Assembly: AlchemyBow.Core.dll
Syntax
[DisallowMultipleComponent]
public class ChildrenCompositeMonoInstaller : MonoInstaller
Remarks
If a ChildrenCompositeMonoInstaller
is found in a child GameObject, the child GameObject and its children are skipped, but the ChildrenCompositeMonoInstaller
is triggered.
Together with the mute
property, this enables the creation of more sophisticated installer hierarchies.
Methods
InstallBindings(IBindOnlyContainer)
Override this method to install bindings in the dependency injection container.
Declaration
public override void InstallBindings(IBindOnlyContainer container)
Parameters
Type | Name | Description |
---|---|---|
IBindOnlyContainer | container | The dependency injection container. |