docs.unity.cn
    Show / Hide Table of Contents

    Class KeyDataStore

    Contains serialized data in a generic serializable container.

    Inheritance
    Object
    KeyDataStore
    Namespace: UnityEditor.AddressableAssets.Settings
    Syntax
    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, Boolean)

    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.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use