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,18 @@
@startuml
class BaseInteractable {
+ onSelectEnterEvent : UnityEvent
+ onSelectExitEvent : UnityEvent
+ onHoverEnterEvent : UnityEvent
+ onHoverExitEvent : UnityEvent
+ <<virtual>> onHoverEnter() : void
+ <<virtual>> onHoverExit() : void
- OnMouseEnter() : void
- OnMouseExit() : void
+ <<virtual>> onSelectEnter() : void
+ <<virtual>> onSelectExit() : void
+ <<virtual>> highLightOn() : void
+ <<virtual>> highLightOff() : void
}
MonoBehaviour <|-- BaseInteractable
IInteractable <|-- BaseInteractable
@enduml
@@ -0,0 +1,17 @@
@startuml
class GrabInteractable {
- attachPoint : Transform
+ alignToSurfaceNormal : bool = true
+ alignmentSpeed : float = 15f
+ snapRotation : bool = false
+ followSpeed : float = 20f
+ heightOffset : float = 0f
- validator : IValidator
+ validTint : Color
+ invalidTint : Color
+ GetAttachPoint() : Transform
+ SetAttachPoint(attachPoint:Transform) : void
+ GetValidator() : IValidator
}
MonoBehaviour <|-- GrabInteractable
@enduml
@@ -0,0 +1,11 @@
@startuml
class HoveredUI {
- ghostManager : GhostManager
- Start() : void
+ OnPointerEnter(eventData:PointerEventData) : void
+ OnPointerExit(eventData:PointerEventData) : void
}
MonoBehaviour <|-- HoveredUI
IPointerEnterHandler <|-- HoveredUI
IPointerExitHandler <|-- HoveredUI
@enduml
@@ -0,0 +1,11 @@
@startuml
interface IInteractable {
transform : Transform <<get>>
onSelectEnter() : void
onSelectExit() : void
onHoverEnter() : void
onHoverExit() : void
highLightOn() : void
highLightOff() : void
}
@enduml
@@ -0,0 +1,16 @@
@startuml
class UIInteractable {
- uIManager : UIManager
- blockData : BlockData
- isSelected : bool = false
- originalColor : Color
- Start() : void
+ <<override>> onSelectEnter() : void
+ <<override>> onSelectExit() : void
<<internal>> getAssociatedBlockData() : BlockData
+ setBlockData(blockData:BlockData) : void
+ OnPointerDown(eventData:PointerEventData) : void
}
BaseInteractable <|-- UIInteractable
IPointerDownHandler <|-- UIInteractable
@enduml