Language
Edit

DataControllerGOBase Class

Definition

Base GameObject MonoBehaviour for dispatching commands related to the bound data.

public abstract class DataControllerGOBase : UnityEngine.MonoBehaviour, MixedReality.Toolkit.Data.IDataController
type DataControllerGOBase = class
    inherit MonoBehaviour
    interface IDataController
Public MustInherit Class DataControllerGOBase
Inherits MonoBehaviour
Implements IDataController
Inheritance
UnityEngine.MonoBehaviour
DataControllerGOBase
Implements

Remarks

When an interactable object is instantiated, particularly those in a data bound collection, there is generally a need to invoke commands, such as those initiated by a user action, that must be tied to the specific data that is bound to that instantiated object. In particular, some form of unique identifier must be provided that differentiates each item in a list of items.

This class provides such a mechanism.

Constructors

Name Description
DataControllerGOBase()

Methods

Name Description
ProcessCommand(String, Object, Dictionary<String,Object>)

Send the specified command with the specified bound datum and optional parameters.

Applies to