Class CapabilityDictionary
Class used to store profile capabilities.
Inheritance
CapabilityDictionary
Implements
Inherited Members
Namespace: Unity.XR.CoreUtils.Capabilities
Assembly: Unity.XR.CoreUtils.dll
Syntax
[Serializable]
public sealed class CapabilityDictionary : SerializableDictionary<string, bool>, IDictionary<string, bool>, ICollection<KeyValuePair<string, bool>>, IReadOnlyDictionary<string, bool>, IReadOnlyCollection<KeyValuePair<string, bool>>, IEnumerable<KeyValuePair<string, bool>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable, ISerializationCallbackReceiver
Remarks
This class can be used in an CapabilityProfile that implements the interface ICapabilityModifier to define the profile capabilities.
Methods
ForceSerialize()
Force save the dictionary entries into the SerializedItems list.
Declaration
public void ForceSerialize()
OnBeforeSerialize()
See ISerializationCallbackReceiver Save this dictionary to the SerializedItems list.
Declaration
public override void OnBeforeSerialize()