logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Character.Infrastructure.Views

    Classes

    CharacterPrefabViewRequirement

    What a character's prefab needs before it can be spawned: every instance is shown and hidden through a view on the prefab, which the Character View component provides. Stated once, so the pool that refuses such a prefab and the authoring tools that report it always agree on which prefabs they mean and what to add.

    UnityCharacterView

    View component attached to every character prefab. Implements ICharacterView (InterfaceAdapters) for Presenter binding and IViewBase (Serenity) for show/hide lifecycle. Does NOT hold a reference to CharacterArchetypeConfigSO — the archetype config is the single source of truth and is passed externally by the Presenter at spawn time.

    In this article
    © 2026 Serenity. All Rights Reserved