Class KeyDataStore
Contains serialized data in a generic serializable container.
Implements
Inherited Members
Namespace: UnityEditor.AddressableAssets.Settings
Assembly: Unity.Addressables.Editor.dll
Syntax
[Serializable]
public class KeyDataStore : ISerializationCallbackReceiver
Properties
Name | Description |
---|---|
Keys | The collection of keys stored. |
OnSetData | Delegate that is invoked when data is modified. |
Methods
Name | Description |
---|---|
GetData<T>(string, T, bool) | Get data via a specified key. |
OnAfterDeserialize() | Implementation of ISerializationCallbackReceiver interface, used to convert data from its serializable form. |
OnBeforeSerialize() | Implementation of ISerializationCallbackReceiver interface, used to convert data to a serializable form. |
SetData(string, object) | Set the value of a specified key. |
SetDataFromString(string, string) | Set data for a specified key from a string. |