|
| static List< ButtonInfo > | GetButtonsForOverlay (Type overlayType) |
| | Gets all registered buttons for a specific overlay type.
|
| |
| static List< ButtonInfo > | GetButtonsForOverlay< T > () |
| | Gets all registered buttons for a specific overlay type (generic version)
|
| |
| static List< ButtonInfo > | GetButtonsForSection (Type overlayType, string section) |
| | Gets buttons for a specific overlay and section.
|
| |
| static Dictionary< int, List< ButtonInfo > > | GetButtonsByRow (Type overlayType, string section) |
| | Gets buttons grouped by row for a specific overlay and section Returns dictionary where key is row number and value is list of buttons in that row (sorted by position)
|
| |
| static List< string > | GetSectionsForOverlay (Type overlayType) |
| | Gets all unique sections for a specific overlay type.
|
| |
| static void | Refresh () |
| | Forces a re-scan of all assemblies for overlay buttons.
|
| |
Registry system for discovering and managing custom overlay buttons.
Automatically scans assemblies for classes marked with [OverlayButton] attribute and provides organized button lists grouped by overlay type, section, and row.
This is a generic system that works with any Unity Overlay-derived class.