Initial commit

This commit is contained in:
HussienX72u
2026-07-21 08:56:10 +03:00
commit 4017028111
9410 changed files with 2150500 additions and 0 deletions
@@ -0,0 +1,7 @@
@startuml
class GizmoFMoveElement {
- Start() : void
- Update() : void
}
MonoBehaviour <|-- GizmoFMoveElement
@enduml
+22
View File
@@ -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
+33
View File
@@ -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