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
+44
View File
@@ -0,0 +1,44 @@
@startuml
class SocketPoint {
- socketType : SocketType
- socketRadius : float = 0.1f
- socketNormal : Vector3
- acceptableTypes : List<SocketType>
- radiusTolerance : float = 0.05f
- visualIndicator : GameObject
- defaultColor : Color
- activeColor : Color
- compatibleColor : Color
- incompatibleColor : Color
- canHoldJoint : bool = false
- occupyingObject : GameObject
- isOccupied : bool = false
- holdedJoint : GameObject
- isJointOccupied : bool = false
- CanAccept(otherSocket:ISocket) : bool
+ CanAccept(otherSocket:ISocket, isJoint:bool) : bool
+ GetNormal() : Vector3
+ Highlight(state:HighlightState) : void
- Update() : void
+ GetTransform() : Transform
+ GetSocketType() : SocketType
+ GetSocketRadius() : float
+ SetSocketRadius(radius:float) : void
+ IsOccupied() : bool
+ IsJointOccupied() : bool
+ GetOccupyingObject() : GameObject
+ GetJointObject() : GameObject
+ SetOccupied(obj:GameObject) : void
+ SetJointOccupied(jointObject:GameObject) : void
+ ReleaseJoint() : void
+ Release() : void
}
enum HighlightState {
Default,
Active,
Compatible,
Incompatible,
}
MonoBehaviour <|-- SocketPoint
ISocket <|-- SocketPoint
@enduml