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