Class UnityGameCameraInstallationStep
Installs the game camera aggregate into the running composition: the camera service, and beside it the camera switch holds the scene's camera switch triggers share, so two triggers switching to one camera never undo each other's switch.
Inherited Members
Namespace: Serenity.GameCamera.Installation.Installers
Assembly: Serenity.UnityGameCamera.Installation.dll
Syntax
public class UnityGameCameraInstallationStep
Constructors
UnityGameCameraInstallationStep()
Declaration
public UnityGameCameraInstallationStep()
Methods
Install(IUnityInstallationContext)
Builds the aggregate's installer, installs it and publishes its services — or, when an earlier run already did, hands back that installer, since the bootstrap and a profile can both run this step.
Declaration
public UnityGameCameraInstaller Install(IUnityInstallationContext installationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| IUnityInstallationContext | installationContext | The composition root this step installs into. |
Returns
| Type | Description |
|---|---|
| UnityGameCameraInstaller | The installer, so the composition root can keep its own reference to it. |