20 lines
549 B
Plaintext
20 lines
549 B
Plaintext
@startuml
|
|
class GizmoRotateElement {
|
|
- direction : GizmoDirection
|
|
- rotationSensitivity : float = 0.3f
|
|
- SelectedMat : Material
|
|
- attachedTransform : Transform
|
|
- rotateStrategy : AxisRotateStrategy
|
|
- ghostManager : GhostManager
|
|
- OGMat : Material
|
|
- isDragging : bool
|
|
- lastMousePos : Vector2
|
|
- Start() : void
|
|
+ onSelectEnter() : void
|
|
+ onSelectExit() : void
|
|
+ ResetMat() : void
|
|
- GetLocalAxis() : AxisRotateStrategy.LocalAxis
|
|
}
|
|
MonoBehaviour <|-- GizmoRotateElement
|
|
@enduml
|