DataControllerGOBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.MonoBehaviourDataControllerGOBase
- 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. |