logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SystemAdoptionViolation

    One dependency an adopted settings asset still resolves into the Serenity package — reported by Verify(string) when a system is not (or no longer) fully adopted, e.g. because SystemAdoptionPlanner deliberately excluded it.

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

    Constructors

    SystemAdoptionViolation(string, string)

    Declaration
    public SystemAdoptionViolation(string referencingAssetPath, string packageDependencyPath)
    Parameters
    Type Name Description
    string referencingAssetPath
    string packageDependencyPath

    Properties

    PackageDependencyPath

    The package-content path it still references.

    Declaration
    public string PackageDependencyPath { get; }
    Property Value
    Type Description
    string

    ReferencingAssetPath

    The adopted asset the violation was found on.

    Declaration
    public string ReferencingAssetPath { get; }
    Property Value
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved