|
| VisualElement | CreateDataFileItem (WindowFrameThemeData dataFile) |
| VisualElement | CreateDataFilesList () |
| void | CreateGUI () |
| | Initializes and configures the visual elements of the theme manager window.
Clears existing UI components, loads necessary styles, and builds the window's layout.
.
|
| void | CreateSetupScreen () |
| void | CreateThemeData () |
| | Creates a new instance of the WindowFrameThemeData scriptable object,
saves it as an asset in the project, and updates the PlayerPrefs for reloading functionality.
Opens a save file panel to specify the location and name of the saved theme data file.
If the file path is selected and valid:
.
|
| Toolbar | CreateToolbar () |
| | Creates and returns a new Toolbar instance for the theme management window.
.
|
| List< WindowFrameThemeData > | FindThemeDataFiles () |
| void | LoadStyles () |
| | Loads and applies the specified StyleSheet resource to the current EditorWindow's rootVisualElement. Attempts to load a StyleSheet named "ThemeManagerEditor". If the StyleSheet is found, it is added to the styleSheets collection of the rootVisualElement. If the StyleSheet is not found, no changes are made.
|
| bool | LoadThemeData () |
| | Loads the WindowFrameThemeData asset from the PlayerPrefs path. If the path is valid, loads the asset and returns true. If the path is invalid, returns false.
|
| void | OnDestroy () |
| void | OnEnable () |
| void | OnGUI () |
| void | RefreshDataFilesList (ScrollView scrollView) |
| void | SelectDataFile (WindowFrameThemeData dataFile) |