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

    Class ConditionsAnalyzer

    Inheritance
    Object
    ConditionsAnalyzer
    Namespace: Unity.MARS.Query
    Syntax
    [MovedFrom("Unity.MARS")]
    public static class ConditionsAnalyzer

    Methods

    GetConditionTypesForTrait(String, List<Type>)

    Finds types of conditions that test against a given trait

    Declaration
    public static bool GetConditionTypesForTrait(string traitName, List<Type> conditionTypes)
    Parameters
    Type Name Description
    String traitName

    Name of the trait that conditions must test against

    List<Type> conditionTypes

    List that will be filled out with types of conditions that use the trait

    Returns
    Type Description
    Boolean

    True if any condition types were found, false otherwise

    GetRelationTypesForChild1Trait(String, List<Type>)

    Finds types of relations that test against a given trait for their first child

    Declaration
    public static bool GetRelationTypesForChild1Trait(string traitName, List<Type> relationTypes)
    Parameters
    Type Name Description
    String traitName

    Name of the trait that relations must test against for their first child

    List<Type> relationTypes

    List that will be filled out with types of relations that use the trait

    Returns
    Type Description
    Boolean

    True if any relation types were found, false otherwise

    GetRelationTypesForChild2Trait(String, List<Type>)

    Finds types of relations that test against a given trait for their second child

    Declaration
    public static bool GetRelationTypesForChild2Trait(string traitName, List<Type> relationTypes)
    Parameters
    Type Name Description
    String traitName

    Name of the trait that relations must test against for their second child

    List<Type> relationTypes

    List that will be filled out with types of relations that use the trait

    Returns
    Type Description
    Boolean

    True if any relation types were found, false otherwise

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