Language
Edit

UXBindingProfileTemplate Class

Definition

This profile combines binding profiles for all Data Consumers used in the MRTK UXComponents components and is used by the BindingConfigurator that can be dropped on any prefab (or game object hierarchy) to automatically configure all Data Consumers that will be needed to make those game objects data bindable and capable of theming.

[UnityEngine.CreateAssetMenu(fileName="MRTK_UX_BindingProfile", menuName="MRTK/Data Binding/UXBindingProfile")]
public class UXBindingProfileTemplate : UnityEngine.ScriptableObject
[<UnityEngine.CreateAssetMenu(fileName="MRTK_UX_BindingProfile", menuName="MRTK/Data Binding/UXBindingProfile")>]
type UXBindingProfileTemplate = class
    inherit ScriptableObject
Public Class UXBindingProfileTemplate
Inherits ScriptableObject
Inheritance
UnityEngine.ScriptableObject
UXBindingProfileTemplate
Attributes
UnityEngine.CreateAssetMenuAttribute

Remarks

This is an experimental feature. This class is early in the cycle, it has been labeled as experimental to indicate that it is still evolving, and subject to change over time. Parts of the MRTK, such as this class, appear to have a lot of value even if the details haven't fully been fleshed out. For these types of features, we want the community to see them and get value out of them early enough so to provide feedback.

Constructors

Name Description
UXBindingProfileTemplate()

Properties

Name Description
ClassBindings

An array of binding profiles for specific classes, typically data consumers.

DataSourceTypes

Optional type specifiers for data sources to be injected into data consumers. This will typically be one data and one theme data source. If left empty, the default 'data' and 'theme' data sources will be used.

Applies to