34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
@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
|