docs.unity.cn
    Show / Hide Table of Contents

    Interface IConfigurationProvider

    Contract for objects providing configuration values that needs to be passed to the IProjectConfiguration component at runtime.

    Namespace: Unity.Services.Core.Configuration.Editor
    Syntax
    public interface IConfigurationProvider : IOrderedCallback
    Remarks

    Implementations must have a parameter-less constructor to be invoked.

    Methods

    OnBuildingConfiguration(ConfigurationBuilder)

    Add configuration values to the given builder.

    Declaration
    void OnBuildingConfiguration(ConfigurationBuilder builder)
    Parameters
    Type Name Description
    ConfigurationBuilder builder

    The builder used to create the runtime configuration data. Use it to set configuration values.

    Remarks

    All configuration values stored in the builder will be persisted and included to the build in order to provide them to the IProjectConfiguration component at runtime.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, April 26, 2022
    Terms of use