logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SystemAdoptionVerifier

    Checks whether an adopted settings asset uses NO asset of the Serenity package — the adoption contract's own definition of "fully adopted". Walks the adopted asset's dependency closure again and reports every dependency that still resolves into a package root; scripts and assembly definitions are never violations, since adoption clones content only and the adopted asset's runtime TYPE staying in the package is expected. Zero violations means the system uses no package asset.

    Inheritance
    object
    SystemAdoptionVerifier
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.CreateGame.Infrastructure.Editor.Adoption
    Assembly: Serenity.UnityCreateGame.Infrastructure.Editor.dll
    Syntax
    public static class SystemAdoptionVerifier

    Methods

    Verify(string)

    Every package-content dependency adoptedSettingsPath still resolves into — empty when the adoption is complete.

    Declaration
    public static IReadOnlyList<SystemAdoptionViolation> Verify(string adoptedSettingsPath)
    Parameters
    Type Name Description
    string adoptedSettingsPath
    Returns
    Type Description
    IReadOnlyList<SystemAdoptionViolation>
    In this article
    © 2026 Serenity. All Rights Reserved