Class AddressableAssetGroupSchema
Contains data for AddressableAssetGroups.
Inherited Members
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)
Display mixed values for the specified property found in a list of schemas.
Declaration
protected void ShowMixedValue(SerializedProperty property, List<AddressableAssetGroupSchema> otherSchemas, Type type, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | property | The property. |
List<AddressableAssetGroupSchema> | otherSchemas | The list of schemas that may contain the property. |
Type | type | The property type. |
String | propertyName | The property name. |