Class CinemachineEmbeddedAssetPropertyAttribute
Used for custom drawing in the inspector. Inspector will show a foldout with the asset contents
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public sealed class CinemachineEmbeddedAssetPropertyAttribute : PropertyAttribute
Constructors
CinemachineEmbeddedAssetPropertyAttribute(bool)
Standard constructor
Declaration
public CinemachineEmbeddedAssetPropertyAttribute(bool warnIfNull = false)
Parameters
Type | Name | Description |
---|---|---|
bool | 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 |
---|---|
bool |