Class SynthesizedObject | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class SynthesizedObject

    Class that automatically inserts and updates data in MARS' reality database Intrinsically linked to the Real World Object it is parented to

    Inheritance
    Object
    SynthesizedObject
    Namespace: Unity.MARS.Data
    Syntax
    public class SynthesizedObject : MonoBehaviour, IMatchAcquireHandler, IMatchUpdateHandler, IMatchLossHandler, IAction, ISimulatable, IUsesMARSData<SynthesizedObject>, IUsesFunctionalityInjection, IFunctionalitySubscriber<IProvidesFunctionalityInjection>, IFunctionalitySubscriber

    Methods

    OnDataBaseLost()

    Called if the database that the synthesized object feeds into shuts down. In that case, we just reset our data ID so we don't try to interact with the database anymore.

    Declaration
    public void OnDataBaseLost()

    OnMatchAcquire(QueryResult)

    Declaration
    public void OnMatchAcquire(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult
    Implements
    IMatchAcquireHandler.OnMatchAcquire(QueryResult)

    OnMatchLoss(QueryResult)

    Declaration
    public void OnMatchLoss(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult
    Implements
    IMatchLossHandler.OnMatchLoss(QueryResult)

    OnMatchUpdate(QueryResult)

    Declaration
    public void OnMatchUpdate(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult
    Implements
    IMatchUpdateHandler.OnMatchUpdate(QueryResult)

    Explicit Interface Implementations

    IFunctionalitySubscriber<IProvidesFunctionalityInjection>.provider

    Declaration
    IProvidesFunctionalityInjection IFunctionalitySubscriber<IProvidesFunctionalityInjection>.provider { get; set; }
    Returns
    Type Description
    IProvidesFunctionalityInjection
    Implements
    IFunctionalitySubscriber<TProvider>.provider

    Extension Methods

    IUsesMARSDataGenericMethods.AddData<T>(IUsesMARSData<T>, T)
    IUsesMARSDataGenericMethods.UpdateData<T>(IUsesMARSData<T>, Int32, T)
    IUsesMARSDataGenericMethods.RemoveData<T>(IUsesMARSData<T>, Int32)
    IUsesMARSDataGenericMethods.GetIdValue<T>(IUsesMARSData<T>, Int32)
    IUsesMARSDataGenericMethods.GetCollection<T>(IUsesMARSData<T>)
    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