Class UnityGameCameraBinder
No-code binder for a scene UnityEngine.Camera: on enable, resolves IGameCameraService from the service locator and registers this object's UnityEngine.Camera component; on destroy, unregisters it. Optionally also assigns the camera to a split-screen player slot.
Resolution mirrors SignalEmitterComponent exactly: lazy lookup via
CachedServiceRef<TService>, latched only on SUCCESS. The service is installed
asynchronously during boot, so a binder enabled early (e.g. a persistent init-scene camera)
must retry rather than cache a failed lookup permanently — latching a failure would leave the
camera unregistered for the rest of the session even after the service comes online.
Namespace: Serenity.GameCamera.Infrastructure.Components
Assembly: Serenity.UnityGameCamera.Infrastructure.dll
Syntax
public class UnityGameCameraBinder : MonoBehaviour
Constructors
UnityGameCameraBinder()
Declaration
public UnityGameCameraBinder()