logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityGameCameraExclude

    Opt-out marker component. Attach to a UnityEngine.Camera GameObject to exclude it from UnityGameCameraService auto-discovery: the camera will never be added to the registry automatically and will never be disabled by exclusive switching or split-screen.

    Explicit registration via IGameCameraService.RegisterCamera bypasses this marker — exclusion only affects auto-discovery, not a deliberate call from game code.

    This component carries no fields or behavior; its mere presence is the signal.

    Inheritance
    object
    UnityGameCameraExclude
    Namespace: Serenity.GameCamera.Infrastructure.Components
    Assembly: Serenity.UnityGameCamera.Infrastructure.dll
    Syntax
    public class UnityGameCameraExclude : MonoBehaviour

    Constructors

    UnityGameCameraExclude()

    Declaration
    public UnityGameCameraExclude()
    In this article
    © 2026 Serenity. All Rights Reserved