logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SplitScreenChangedSignal

    Broadcast whenever split-screen is activated, deactivated, or its layout changes, so UI and gameplay systems can react to the new player-viewport arrangement.

    Inheritance
    object
    SplitScreenChangedSignal
    Namespace: Serenity.GameCamera.Application.Events
    Assembly: Serenity.GameCamera.Application.dll
    Syntax
    public class SplitScreenChangedSignal : EventDispatcherSignal

    Constructors

    SplitScreenChangedSignal()

    Initializes a new instance of the SplitScreenChangedSignal class.

    Declaration
    public SplitScreenChangedSignal()

    SplitScreenChangedSignal(SplitScreenLayout, int)

    Initializes a new instance of the SplitScreenChangedSignal class.

    Declaration
    public SplitScreenChangedSignal(SplitScreenLayout layout, int playerCount)
    Parameters
    Type Name Description
    SplitScreenLayout layout

    The split-screen layout now in effect.

    int playerCount

    Number of players currently occupying a viewport.

    Fields

    Layout

    Declaration
    public readonly SplitScreenLayout Layout
    Field Value
    Type Description
    SplitScreenLayout

    The split-screen layout now in effect.

    PlayerCount

    Declaration
    public readonly int PlayerCount
    Field Value
    Type Description
    int

    Number of players currently occupying a viewport.

    Methods

    ToString()

    Returns a string representation of the event.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Formatted string with the layout and player count.

    In this article
    © 2026 Serenity. All Rights Reserved