Class AssetReferenceUtility
Utility Class
Namespace: UnityEditor.AddressableAssets.GUI
Syntax
public class AssetReferenceUtility
Methods
GetSurrogate(Type)
Finds surrogate class for an Assembly with a particular TargetType
Declaration
public static Type GetSurrogate(Type targetType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | targetType | Target Type to search |
Returns
| Type | Description |
|---|---|
| Type | Type of the surrogate found for the Assembly with a particular Target Type. |