23 lines
516 B
Plaintext
23 lines
516 B
Plaintext
@startuml
|
|
enum GizmoDirection {
|
|
X,
|
|
Y,
|
|
Z,
|
|
}
|
|
class GizmoMoveElement {
|
|
- direction : GizmoDirection
|
|
- attachedTransform : Transform
|
|
- moveStrategy : AxisMoveStrategy
|
|
- ghostManager : GhostManager
|
|
- OGMat : Material
|
|
- SelectedMat : Material
|
|
- Start() : void
|
|
+ getDirection() : GizmoDirection
|
|
+ onSelectEnter() : void
|
|
+ onSelectExit() : void
|
|
+ ResetMat() : void
|
|
- GetAxisDirection() : Vector3
|
|
}
|
|
MonoBehaviour <|-- GizmoMoveElement
|
|
@enduml
|