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