Initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
@startuml
|
||||
class GizmoFMoveElement {
|
||||
- Start() : void
|
||||
- Update() : void
|
||||
}
|
||||
MonoBehaviour <|-- GizmoFMoveElement
|
||||
@enduml
|
||||
@@ -0,0 +1,22 @@
|
||||
@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
|
||||
@@ -0,0 +1,19 @@
|
||||
@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
|
||||
@@ -0,0 +1,10 @@
|
||||
@startuml
|
||||
class MultiSelectValidationCheck {
|
||||
- selectionManager : SelectionManager
|
||||
- BarTransform : RectTransform
|
||||
- OriginalBarTransform : Vector2
|
||||
- Start() : void
|
||||
+ SelectedItem(interactable:IInteractable) : void
|
||||
}
|
||||
MonoBehaviour <|-- MultiSelectValidationCheck
|
||||
@enduml
|
||||
@@ -0,0 +1,33 @@
|
||||
@startuml
|
||||
class TransformManager {
|
||||
- FreeMove : Toggle
|
||||
- AxialMove : Toggle
|
||||
- AxialRotate : Toggle
|
||||
- selectionManager : SelectionManager
|
||||
- mianCamera : Camera
|
||||
- FMoveEn : bool = false
|
||||
- gizmosMovePrefab : GameObject
|
||||
- gizmosRotatePrefab : GameObject
|
||||
- scaleFactor : float = 1
|
||||
- currentGizmosMove : GameObject
|
||||
- currentGizmosRotate : GameObject
|
||||
- CurrentSelection : IInteractable
|
||||
- GhostSH : GhostStrategyHandler
|
||||
- MElement : GizmoMoveElement
|
||||
- RElement : GizmoRotateElement
|
||||
- RayInteractor : RayInteractor
|
||||
- GizmosArray : Transform[]
|
||||
- IsSelected : bool = false
|
||||
- UnSelectedMaterial : Material
|
||||
- Start() : void
|
||||
- Update() : void
|
||||
- SelectionToMGizmo(element:GizmoMoveElement) : void
|
||||
- SelectionToRGizmo(element:GizmoRotateElement) : void
|
||||
- GizmoDeselect() : void
|
||||
- FMove(Trigger:bool) : void
|
||||
- AMove(Trigger:bool) : void
|
||||
- ARot(Trigger:bool) : void
|
||||
- SetCurrent(interactable:IInteractable) : void
|
||||
}
|
||||
MonoBehaviour <|-- TransformManager
|
||||
@enduml
|
||||
Reference in New Issue
Block a user