CinemachineVirtualCamera.GetCinemachineComponent Method (CinemachineCore.Stage)

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: CinemachineComponentBase
The Cinemachine component for that stage, or null if not defined
See Also