Method CameraWasDisplaced
CameraWasDisplaced(CinemachineVirtualCameraBase)
See whether the virtual camera has been moved by the confiner
선언
public bool CameraWasDisplaced(CinemachineVirtualCameraBase vcam)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| CinemachineVirtualCameraBase | vcam | The virtual camera in question. This might be different from the virtual camera that owns the confiner, in the event that the camera has children |
반환
| 타입 | 설명 |
|---|---|
| bool | True if the virtual camera has been repositioned |