Class AddressableAssetGroupSchema | Addressables | 1.13.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class AddressableAssetGroupSchema

    Contains data for AddressableAssetGroups.

    Inheritance
    Object
    AddressableAssetGroupSchema
    BundledAssetGroupSchema
    ContentUpdateGroupSchema
    PlayerDataGroupSchema
    Namespace: UnityEditor.AddressableAssets.Settings
    Syntax
    public class AddressableAssetGroupSchema : ScriptableObject

    Properties

    Group

    Get the group that the schema belongs to.

    Declaration
    public AddressableAssetGroup Group { get; }
    Property Value
    Type Description
    AddressableAssetGroup

    Methods

    OnGUI()

    Used to display the GUI of the schema.

    Declaration
    public virtual void OnGUI()

    OnGUIMultiple(List<AddressableAssetGroupSchema>)

    Used to display the GUI of multiple selected groups.

    Declaration
    public virtual void OnGUIMultiple(List<AddressableAssetGroupSchema> otherSchemas)
    Parameters
    Type Name Description
    List<AddressableAssetGroupSchema> otherSchemas

    Schema instances in the other selected groups

    OnSetGroup(AddressableAssetGroup)

    Override this method to perform post creation initialization.

    Declaration
    protected virtual void OnSetGroup(AddressableAssetGroup group)
    Parameters
    Type Name Description
    AddressableAssetGroup group

    The group that the schema is added to.

    SetDirty(Boolean)

    Used to notify the addressables settings that data has been modified. This must be called by subclasses to ensure proper cache invalidation.

    Declaration
    protected void SetDirty(bool postEvent)
    Parameters
    Type Name Description
    Boolean postEvent

    Determines if this method call will post an event to the internal addressables event system

    ShowAllProperties()

    Used for drawing properties in the inspector.

    Declaration
    public virtual void ShowAllProperties()

    ShowMixedValue(SerializedProperty, List<AddressableAssetGroupSchema>, Type, String)

    Declaration
    protected void ShowMixedValue(SerializedProperty property, List<AddressableAssetGroupSchema> otherSchemas, Type type, string propertyName)
    Parameters
    Type Name Description
    SerializedProperty property
    List<AddressableAssetGroupSchema> otherSchemas
    Type type
    String propertyName
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023