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,11 @@
@startuml
class DeleteInteractor {
- inputProvider : BaseInputProvider
- commandHandler : CommandHandler
- selectionManager : SelectionManager
- Start() : void
+ DeleteObjects() : void
- FindBlockIndex(obj:GameObject) : string
}
MonoBehaviour <|-- DeleteInteractor
@enduml
@@ -0,0 +1,22 @@
@startuml
class RayInteractor {
- {static} instance : RayInteractor
+ {static} getInstance() : RayInteractor
- gizmoLayerMask : LayerMask
- interactableLayerMask : LayerMask
- worldLayerMask : LayerMask
- inputProvider : BaseInputProvider
- mainCamera : Camera
- lastHit : RaycastHit
- currentGizmo : GameObject
+ OnWorldClick : UnityEvent
+ OnSelectEvent : UnityEvent<IInteractable>
- Awake() : void
- Start() : void
- SetupInput() : void
+ GetHitInfo(hitInfo:RaycastHit) : bool
+ GetCurrentGizmo() : GameObject
+ GetHitPosition() : Vector3
}
MonoBehaviour <|-- RayInteractor
@enduml
@@ -0,0 +1,18 @@
@startuml
class SnapSystem {
- {static} instance : SnapSystem
+ {static} getInstance() : SnapSystem
- socketDetectionRadius : float = 0.5f
- <<readonly>> nearbySockets : List<SocketPoint>
- <<readonly>> visitedRoots : HashSet<Transform>
- closestSocket : SocketPoint
- Awake() : void
+ UpdateSockets(detectionPoint:Vector3, ghostRoot:Transform) : void
+ ClearHighlights() : void
+ Clear() : void
+ GetNearbySockets() : List<SocketPoint>
+ GetClosestSocket() : SocketPoint
- {static} FindClosest(position:Vector3, sockets:List<SocketPoint>) : SocketPoint
}
MonoBehaviour <|-- SnapSystem
@enduml
@@ -0,0 +1,7 @@
@startuml
class TestCommandInteractor {
- commandHandler : CommandHandler
- Update() : void
}
MonoBehaviour <|-- TestCommandInteractor
@enduml