docs.unity3d.com
    Show / Hide Table of Contents

    Class FeatureChange

    Describes the change of a single feature.

    Inheritance
    Object
    FeatureChange
    Namespace: UnityEngine.Industrial.Configuring.Core
    Syntax
    public class FeatureChange

    Properties

    feature

    Feature that is changing.

    Declaration
    public Feature feature { get; }
    Property Value
    Type Description
    Feature

    The feature.

    isAdded

    true
    if added,
    false
    otherwise.
    Declaration
    public bool isAdded { get; }
    Property Value
    Type Description
    Boolean

    true if this instance is added; otherwise, false.

    isRemoved

    true
    if added,
    false
    otherwise.
    Declaration
    public bool isRemoved { get; }
    Property Value
    Type Description
    Boolean

    true if this instance is removed; otherwise, false.

    Methods

    Add(Feature)

    Creates and returns a feature change that adds a feature.

    Declaration
    public static FeatureChange Add(Feature feature)
    Parameters
    Type Name Description
    Feature feature

    The feature.

    Returns
    Type Description
    FeatureChange

    FeatureChange.

    Create(Feature, Boolean)

    Creates and returns a feature change that adds or removes a feature.

    Declaration
    public static FeatureChange Create(Feature feature, bool add)
    Parameters
    Type Name Description
    Feature feature

    The feature.

    Boolean add

    if set to true [add].

    Returns
    Type Description
    FeatureChange

    FeatureChange.

    Remove(Feature)

    Creates and returns a feature change that removes a feature.

    Declaration
    public static FeatureChange Remove(Feature feature)
    Parameters
    Type Name Description
    Feature feature

    The feature.

    Returns
    Type Description
    FeatureChange

    FeatureChange.

    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