Method AddCinemachineComponent
AddCinemachineComponent<T>()
Add a component to the cinemachine pipeline.
Existing components at the new component's stage are removed
Declaration
public T AddCinemachineComponent<T>() where T : CinemachineComponentBase
Returns
| Type | Description |
|---|---|
| T | The new component |
Type Parameters
| Name | Description |
|---|---|
| T | The type of component to add |