logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityLocalFileBackendDefinition

    Structured-store backend writing each partition as a human-readable, pretty-printed JSON file under a subdirectory of UnityEngine.Application.persistentDataPath. No external service or driver is needed. Consumer-agnostic: each consumer decides its own default directory when no asset (or a blank DirectoryName) is provided.

    Inheritance
    object
    UnityStructuredBackendDefinition
    UnityLocalFileBackendDefinition
    Implements
    IFoundationSettings
    Inherited Members
    UnityStructuredBackendDefinition.Id
    UnityStructuredBackendDefinition.Guid
    Namespace: Serenity.StructuredPersistence.Infrastructure.Settings
    Assembly: Serenity.UnityStructuredPersistence.Infrastructure.dll
    Syntax
    public class UnityLocalFileBackendDefinition : UnityStructuredBackendDefinition, IFoundationSettings

    Constructors

    UnityLocalFileBackendDefinition()

    Declaration
    public UnityLocalFileBackendDefinition()

    Fields

    DirectoryName

    Declaration
    public string DirectoryName
    Field Value
    Type Description
    string

    Subdirectory under UnityEngine.Application.persistentDataPath where partition files live. The full path is {persistentDataPath}/{DirectoryName}. Blank lets the consumer apply its own default (the structured log sink uses "logs").

    Implements

    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved