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

    Class Relations

    Collections of different types of bi-directional data filters, and the constraints of child MR objects involved

    Inheritance
    Object
    Relations
    Namespace: Unity.MARS.Query
    Syntax
    public class Relations

    Constructors

    Relations(IRelation[], Dictionary<IMRObject, SetChildArgs>)

    Declaration
    public Relations(IRelation[] relations, Dictionary<IMRObject, SetChildArgs> children = null)
    Parameters
    Type Name Description
    IRelation[] relations
    Dictionary<IMRObject, SetChildArgs> children

    Relations(Relation, SetChildArgs, SetChildArgs)

    Declaration
    public Relations(Relation relation, SetChildArgs child1Args, SetChildArgs child2Args)
    Parameters
    Type Name Description
    Relation relation
    SetChildArgs child1Args
    SetChildArgs child2Args

    Relations(GameObject, Dictionary<IMRObject, SetChildArgs>)

    Declaration
    public Relations(GameObject gameObject, Dictionary<IMRObject, SetChildArgs> children)
    Parameters
    Type Name Description
    GameObject gameObject
    Dictionary<IMRObject, SetChildArgs> children

    Fields

    children

    Child MR objects involved in the relations, and the constraints of those children

    Declaration
    public Dictionary<IMRObject, SetChildArgs> children
    Field Value
    Type Description
    Dictionary<IMRObject, SetChildArgs>

    Properties

    Count

    Declaration
    public int Count { get; protected set; }
    Property Value
    Type Description
    Int32

    Methods

    TryGetType(out Object[])

    This method exists in order for MARS to compile before type-specific code is generated. Use the type-specific version of this method

    Declaration
    [Obsolete("This method exists in order for MARS to compile before type-specific code is generated. Use the type-specific version of this method")]
    public bool TryGetType(out object[] conditions)
    Parameters
    Type Name Description
    Object[] conditions
    Returns
    Type Description
    Boolean

    TryGetType<T>(out IRelation<T>[])

    Declaration
    public bool TryGetType<T>(out IRelation<T>[] conditions)
        where T : struct
    Parameters
    Type Name Description
    IRelation<T>[] conditions
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    T
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)