docs.unity.cn
    Show / Hide Table of Contents

    Class AddressableAssetSettingsDefaultObject

    Class used to get and set the default Addressable Asset settings object.

    Inheritance
    Object
    AddressableAssetSettingsDefaultObject
    Namespace: UnityEditor.AddressableAssets
    Syntax
    public class AddressableAssetSettingsDefaultObject : ScriptableObject

    Fields

    Name Description
    kDefaultConfigAssetName

    Default name for the addressable assets settings

    kDefaultConfigFolder

    The default folder for the serialized version of this class.

    kDefaultConfigObjectName

    The name of the default config object

    Properties

    Name Description
    DefaultAssetPath

    Default path for addressable asset settings assets.

    Settings

    Gets the default addressable asset settings object. This will return null during editor startup if EditorApplication.isUpdating or EditorApplication.isCompiling are true.

    SettingsExists

    Used to determine if a default settings asset exists.

    Methods

    Name Description
    GetSettings(Boolean)

    Gets the settings object with the option to create a new one if it does not exist.

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