Files
JuegoSim/-o/InteractionLayer/Interactors/SnapSystem.puml
T
2026-07-21 08:56:10 +03:00

19 lines
664 B
Plaintext

@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