docs.unity3d.com
    目次を表示する/隠す

    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.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)