Class CinemachineEmbeddedAssetPropertyAttribute
Used for custom drawing in the inspector. Inspector will show a foldout with the asset contents
Inherited Members
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 |