Class RequiredTargetAttribute
Attribute used by inspector to display warnings about missing targets. This can be used on CinemachineComponents and CinemachineExtensions.
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public sealed class RequiredTargetAttribute : Attribute
Constructors
RequiredTargetAttribute(RequiredTargets)
Constructor: Pipeline Stage is defined here.
Declaration
public RequiredTargetAttribute(RequiredTargetAttribute.RequiredTargets requiredTarget)
Parameters
Type | Name | Description |
---|---|---|
RequiredTargetAttribute.RequiredTargets | requiredTarget | Which targets are required |
Properties
RequiredTarget
Get the stage in the Camera Pipeline in which to position this component
Declaration
public RequiredTargetAttribute.RequiredTargets RequiredTarget { get; }
Property Value
Type | Description |
---|---|
RequiredTargetAttribute.RequiredTargets |