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

    Class SetQueryArgs

    Contains all the relations and data a user can ask for in a single request

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

    Fields

    commonQueryData

    Behavior around timing and recovery of queries

    Declaration
    public CommonQueryData commonQueryData
    Field Value
    Type Description
    CommonQueryData

    onAcquire

    Callback to trigger when data matching the query has been acquired for the first time

    Declaration
    public Action<SetQueryResult> onAcquire
    Field Value
    Type Description
    Action<SetQueryResult>

    onLoss

    Callback to trigger when the data related to the query has been lost

    Declaration
    public Action<SetQueryResult> onLoss
    Field Value
    Type Description
    Action<SetQueryResult>

    onMatchUpdate

    Callback to trigger when data related to the query has been changed

    Declaration
    public Action<SetQueryResult> onMatchUpdate
    Field Value
    Type Description
    Action<SetQueryResult>

    onTimeout

    Callback to trigger if data related to the query has not been found in the specified time period

    Declaration
    public Action<SetQueryArgs> onTimeout
    Field Value
    Type Description
    Action<SetQueryArgs>

    relations

    Bi-directional data filters for what acceptable real world data fits this query

    Declaration
    public Relations relations
    Field Value
    Type Description
    Relations
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)