Cinemachine
CinemachineVirtualCameraGetCinemachineComponent Method (CinemachineCoreStage) |
Get the component set for a specific stage.
Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public CinemachineComponentBase GetCinemachineComponent( CinemachineCoreStage stage )
function GetCinemachineComponent(stage);
Parameters
- stage
- Type: CinemachineCinemachineCoreStage
The stage for which we want the component
Return Value
Type: CinemachineComponentBaseThe Cinemachine component for that stage, or null if not defined
See Also