Class AssetReferenceSurrogateAttribute
Used to restrict a class to only allow items with specific labels.
Namespace: UnityEditor.AddressableAssets.GUI
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class AssetReferenceSurrogateAttribute : Attribute, _Attribute
Constructors
AssetReferenceSurrogateAttribute(Type)
Construct a new AssetReferenceSurrogateAttribute.
Declaration
public AssetReferenceSurrogateAttribute(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The Type of the class in question. |
Fields
TargetType
Declaration
public Type TargetType
Field Value
Type | Description |
---|---|
Type |