Class UnityWaveInstaller
Unity-specific installer for the Wave service. Creates a UnityWaveService on a dedicated GameObject.
Namespace: Serenity.Wave.Installation.Installers
Assembly: Serenity.UnityWave.Installation.dll
Syntax
public class UnityWaveInstaller : WaveInstaller, IFoundationInstaller, IInstaller
Constructors
UnityWaveInstaller()
Initializes an installer whose service schedules no spawns until a caller injects its spawn dependencies itself.
Declaration
public UnityWaveInstaller()
UnityWaveInstaller(IEventDispatcherService, ICharacterSpawnService)
Initializes an installer that hands the installed service its spawn dependencies.
Declaration
public UnityWaveInstaller(IEventDispatcherService eventDispatcherService, ICharacterSpawnService characterSpawnService)
Parameters
| Type | Name | Description |
|---|---|---|
| IEventDispatcherService | eventDispatcherService | The dispatcher the service listens on for wave-cleared signals. May be null. |
| ICharacterSpawnService | characterSpawnService | The service every wave actor is spawned and pooled through. May be null. |
Methods
Install(ILogService)
Installs the Wave service by creating the Unity MonoBehaviour implementation.
Declaration
public override void Install(ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | logService | The logging service for diagnostic output. |