API reference

VariantCheckpoint Class

Describes a variant used for the installation of a block.
The data is serialized within the InstallationRoutineCheckpoint which is stored within the owner BuildingBlock MonoBehaviour.
The data is set automatically into these serializable classes on installation of a BuildingBlock.

Constructors

VariantCheckpoint ( memberName , value )
Constructor for a VariantCheckpoint, which helps serializing data defined by a variant such as the member name and the value set by the variant.
Signature
Meta.XR.BuildingBlocks.VariantCheckpoint.VariantCheckpoint(string memberName, string value)
Parameters
memberName: string  Name of the member set by the variant
value: string  Value, serialized as a string, set by the variant

Protected Fields

_memberName : string
Signature
string Meta.XR.BuildingBlocks.VariantCheckpoint._memberName
_value : string
Signature
string Meta.XR.BuildingBlocks.VariantCheckpoint._value

Properties

MemberName : string
[Get]
Name of the member set by this variant.
Signature
string Meta.XR.BuildingBlocks.VariantCheckpoint.MemberName
Value : string
[Get]
Serialized value, as a string, set by this variant.
Signature
string Meta.XR.BuildingBlocks.VariantCheckpoint.Value