docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SetQueryArgs

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

    Inheritance
    object
    SetQueryArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.MARS.Query
    Assembly: Unity.MARS.dll
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)