Class UnityGameWeaponInstaller
Unity-specific installer for the GameWeapon service.
Namespace: Serenity.GameWeapon.Installation.Installers
Assembly: Serenity.UnityGameWeapon.Installation.dll
Syntax
public class UnityGameWeaponInstaller : GameWeaponInstaller, IFoundationInstaller, IInstaller
Remarks
Creates the UnityGameWeaponService as a MonoBehaviour on a dedicated GameObject.
Constructors
UnityGameWeaponInstaller()
Declaration
public UnityGameWeaponInstaller()
Methods
Install(ILogService)
Installs the GameWeapon 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. |