Method GetCinemachineComponent
GetCinemachineComponent(Stage)
Get the component set for a specific stage.
선언
public CinemachineComponentBase GetCinemachineComponent(CinemachineCore.Stage stage)
파라미터
타입 | 이름 | 설명 |
---|---|---|
CinemachineCore.Stage | stage | The stage for which we want the component |
반환
타입 | 설명 |
---|---|
CinemachineComponentBase | The Cinemachine component for that stage, or null if not defined |
GetCinemachineComponent<T>()
Get an existing component of a specific type from the cinemachine pipeline.
선언
public T GetCinemachineComponent<T>() where T : CinemachineComponentBase
반환
타입 | 설명 |
---|---|
T |
타입 파라미터
이름 | 설명 |
---|---|
T |