Interface ICondition<T1, T2> | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    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
    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