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

23 lines
675 B
Plaintext

@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