Initial commit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user