Class Datum<T>
Scriptable
Inherited Members
Namespace: Unity.XR.CoreUtils .Datums
Assembly: solution.dll
Syntax
public abstract class Datum<T> : ScriptableObject
Type Parameters
Name | Description |
---|---|
T | Value type held by this container. |
Properties
Name | Description |
---|---|
Bindable |
Read-only bindable variable reference that can be used for subscribing to value changes when not set to read-only. |
Comments | Comment that shows up in the Inspector window. Useful for explaining the purpose of the datum. |
Read |
Controls whether the value in this datum is mutable or not. |
Value | Accessor for internal value. Setter only works if value is not read-only. |
Methods
Name | Description |
---|---|
On |
This function is called when the object is loaded. Updates the value of the bindable variable reference. |