docs.unity.cn
    Show / Hide Table of Contents

    Class CinemachineEmbeddedAssetPropertyAttribute

    Used for custom drawing in the inspector. Inspector will show a foldout with the asset contents

    Inheritance
    Object
    Attribute
    PropertyAttribute
    CinemachineEmbeddedAssetPropertyAttribute
    Inherited Members
    PropertyAttribute.order
    Namespace: Cinemachine
    Syntax
    public sealed class CinemachineEmbeddedAssetPropertyAttribute : PropertyAttribute, _Attribute

    Constructors

    CinemachineEmbeddedAssetPropertyAttribute(Boolean)

    Standard constructor

    Declaration
    public CinemachineEmbeddedAssetPropertyAttribute(bool warnIfNull = false)
    Parameters
    Type Name Description
    Boolean warnIfNull

    If true, inspector will display a warning if the embedded asset is null

    Fields

    WarnIfNull

    If true, inspector will display a warning if the embedded asset is null

    Declaration
    public bool WarnIfNull
    Field Value
    Type Description
    Boolean
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 8, 2023