docs.unity3d.com
    显示 / 隐藏目录

    Interface ICondition<T1, T2>

    Used to filter data of a specific type in a query

    Inherited Members
    IConditionBase.enabled
    Namespace: Unity.MARS.Query
    Syntax
    public interface ICondition<T1, T2> : IConditionBase where T1 : struct where T2 : struct
    Type Parameters
    Name Description
    T1

    The type of the 1st trait

    T2

    The type of the 2nd trait

    Properties

    TraitName1

    Declaration
    string TraitName1 { get; }
    Property Value
    Type Description
    String

    TraitName2

    Declaration
    string TraitName2 { get; }
    Property Value
    Type Description
    String

    Methods

    RateDataMatch(ref T1, ref T2)

    Declaration
    float RateDataMatch(ref T1 trait1, ref T2 trait2)
    Parameters
    Type Name Description
    T1 trait1
    T2 trait2
    Returns
    Type Description
    Single
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)