Files
2026-07-21 08:56:10 +03:00

17 lines
480 B
Plaintext

@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