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

    Class IConditionGenericMethods

    Inheritance
    Object
    IConditionGenericMethods
    Namespace: Unity.MARS.Query
    Syntax
    public static class IConditionGenericMethods

    Methods

    PassesCondition<T>(ICondition<T>, ref T)

    Collapses a condition's match rating into a pass/fail.

    Declaration
    public static bool PassesCondition<T>(this ICondition<T> condition, ref T value)
    Parameters
    Type Name Description
    ICondition<T> condition

    The condition to evaluate

    T value

    The data being filtered against

    Returns
    Type Description
    Boolean

    True if the given trait data passes the filter function, false otherwise

    Type Parameters
    Name Description
    T

    The type of data the condition uses

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