Class AssetReferenceSurrogateAttribute | Addressables | 1.4.0
docs.unity.cn
    Show / Hide Table of Contents

    Class AssetReferenceSurrogateAttribute

    Used to restrict a class to only allow items with specific labels.

    Inheritance
    Object
    Attribute
    AssetReferenceSurrogateAttribute
    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
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX