Loading...
Searching...
No Matches
realvirtual.IOverlayButton Interface Reference
Interface that all overlay buttons must implement This allows the registry to work with different button types uniformly. More...
Inheritance diagram for realvirtual.IOverlayButton:
Public Member Functions | |
| VisualElement | CreateButton () |
| Creates the visual element for this button. | |
| bool | ShouldShow (GameObject selectedObject) |
| Determines if the button should be shown. | |
| bool | ShouldEnable () |
| Determines if the button should be enabled. | |
Detailed Description
Interface that all overlay buttons must implement This allows the registry to work with different button types uniformly.
Member Function Documentation
◆ CreateButton()
| VisualElement realvirtual.IOverlayButton.CreateButton | ( | ) |
Creates the visual element for this button.
Implemented in realvirtual.OverlayButtonBase, realvirtual.OverlaySectionBase, and realvirtual.OverlayToggleBase.
◆ ShouldEnable()
| bool realvirtual.IOverlayButton.ShouldEnable | ( | ) |
Determines if the button should be enabled.
Implemented in realvirtual.OverlayButtonBase, realvirtual.OverlaySectionBase, and realvirtual.OverlayToggleBase.
◆ ShouldShow()
| bool realvirtual.IOverlayButton.ShouldShow | ( | GameObject | selectedObject | ) |
Determines if the button should be shown.
Implemented in realvirtual.OverlayButtonBase, realvirtual.OverlaySectionBase, and realvirtual.OverlayToggleBase.