19 lines
622 B
Plaintext
19 lines
622 B
Plaintext
@startuml
|
|
class SelectionManager {
|
|
- {static} instance : SelectionManager
|
|
+ {static} getInstance() : SelectionManager
|
|
- rayInteractor : RayInteractor
|
|
- inputProvider : BaseInputProvider
|
|
- <<readonly>> currentSelections : List<IInteractable>
|
|
- multiSelectEnabled : bool = false
|
|
+ SelectionEvent : UnityEvent<IInteractable>
|
|
- Awake() : void
|
|
- Start() : void
|
|
- HandleSelect(interactable:IInteractable) : void
|
|
+ GetCurrentSelections() : List<IInteractable>
|
|
+ ClearSelection() : void
|
|
+ HasOneSelection() : bool
|
|
}
|
|
MonoBehaviour <|-- SelectionManager
|
|
@enduml
|