Class AddressableAssetGroupSchemaTemplate
Contains a set of schemas used by the GUI to create predefined asset groups.
Namespace: UnityEditor.AddressableAssets.Settings
Syntax
[Serializable]
public class AddressableAssetGroupSchemaTemplate
Properties
Description
the description of the template.
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| String |
DisplayName
The display name of the template.
Declaration
public string DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
Create(String, String, Type[])
Creates a template with the specified name, descriptionm and schema types.
Declaration
public static AddressableAssetGroupSchemaTemplate Create(string name, string descr, params Type[] types)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | The name of the template. |
| String | descr | The template description. |
| Type[] | types | The schema types for the template. |
Returns
| Type | Description |
|---|---|
| AddressableAssetGroupSchemaTemplate | The newly created schema template. |
GetTypes()
The types of schemas in this template.
Declaration
public Type[] GetTypes()
Returns
| Type | Description |
|---|---|
| Type[] | The array of schema types. |