@startuml class CameraControl { + panSpeed : float = 0.5f + rotateSpeed : float = 5.0f + zoomSpeed : float = 5.0f + minZoom : float = 2.0f + maxZoom : float = 50.0f + enableSmoothing : bool = true + smoothTime : float = 0.1f + isInputLocked : bool = false + SnapToDirection(direction:Vector3) : void } MonoBehaviour <|-- CameraControl CameraControl --> "pivotPoint" Transform CameraControl --> "obstacleLayer" LayerMask @enduml