Class KeyDataStore
Contains serialized data in a generic serializable container.
상속된 멤버
네임스페이스: UnityEditor.AddressableAssets.Settings
어셈블리: solution.dll
구문
[Serializable]
public class KeyDataStore : ISerializationCallbackReceiver
프로퍼티
이름 | 설명 |
---|---|
Keys | The collection of keys stored. |
OnSetData | Delegate that is invoked when data is modified. |
메서드
이름 | 설명 |
---|---|
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. |