Class AddressableAssetGroupSchema
Contains data for AddressableAssetGroups.
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 |