docs.unity3d.com
    Show / Hide Table of Contents

    Interface IComponentList<TObject>

    Interface for object containing a component list. This is used to store component data on an object.

    Namespace: UnityEditor.MARS
    Syntax
    public interface IComponentList<TObject>
        where TObject : Object
    Type Parameters
    Name Description
    TObject

    Type of component collection is to store

    Properties

    components

    List of components this interface provides.

    Declaration
    List<TObject> components { get; }
    Property Value
    Type Description
    List<TObject>

    isDirty

    If the components list has been modified in a way that the list and objects that use the list need to be validated.

    Declaration
    bool isDirty { get; set; }
    Property Value
    Type Description
    Boolean

    self

    Reference back to the object that implements the interface.

    Declaration
    Object self { get; }
    Property Value
    Type Description
    Object

    Methods

    HasComponents(Type)

    Does the Settings contain a item of type.

    Declaration
    bool HasComponents(Type type)
    Parameters
    Type Name Description
    Type type

    Type of item to check if the components has.

    Returns
    Type Description
    Boolean

    True if components contains an item of type.

    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