docs.unity3d.com
    Show / Hide Table of Contents

    Class StagingRulesUpdateProvider

    Default staging rules update provider

    Inheritance
    Object
    StagingRulesUpdateProvider
    Namespace: UnityEngine.Industrial.Configuring.Staging
    Syntax
    public class StagingRulesUpdateProvider : IStagingRulesUpdateProvider

    Constructors

    StagingRulesUpdateProvider()

    Initializes a new instance of the StagingRulesUpdateProvider class.

    Declaration
    public StagingRulesUpdateProvider()

    Properties

    Instance

    Gets the instance.

    Declaration
    public static StagingRulesUpdateProvider Instance { get; }
    Property Value
    Type Description
    StagingRulesUpdateProvider

    The instance.

    Methods

    Add(Type, StagingRulesUpdater)

    Adds an custom rules updater for staging rule type

    Declaration
    public void Add(Type stagingRule, StagingRulesUpdater updater)
    Parameters
    Type Name Description
    Type stagingRule

    The staging rule.

    StagingRulesUpdater updater

    The updater.

    Exceptions
    Type Condition
    InvalidCastException

    Staging rule should be subclass of StagingRule

    Add<T>(T, StagingRulesUpdater)

    Adds an custom rules updater for staging rule type

    Declaration
    public void Add<T>(T stagingRule, StagingRulesUpdater updater)
        where T : StagingRule
    Parameters
    Type Name Description
    T stagingRule

    The staging rule.

    StagingRulesUpdater updater

    The updater.

    Type Parameters
    Name Description
    T

    Provide(StagingRule)

    Provides the specified rule.

    Declaration
    public StagingRulesUpdater Provide(StagingRule rule)
    Parameters
    Type Name Description
    StagingRule rule

    The rule.

    Returns
    Type Description
    StagingRulesUpdater

    StagingRulesUpdater.

    Implements
    IStagingRulesUpdateProvider.Provide(StagingRule)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023