Class HideIfNoComponentAttribute
Hide this property if a component of a given type is not present
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public sealed class HideIfNoComponentAttribute : PropertyAttribute
Constructors
HideIfNoComponentAttribute(Type)
Constructor
Declaration
public HideIfNoComponentAttribute(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of the component to check for |
Fields
ComponentType
The name of the field controlling the enabled state
Declaration
public Type ComponentType
Field Value
Type | Description |
---|---|
Type |