|
Window Framework for UI Toolkit Scripting v1.3.0
|
Represents a custom editor window in Unity, used for managing themes within the Window Framework. More...


Static Public Member Functions | |
| static void | ShowWindow () |
Private Member Functions | |
| 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) |
| void | SetActiveAddressablesButton (Button button) |
| DropdownMenuAction.Status | SetAddressableLabelMenuActiveStatus (DropdownMenuAction arg) |
| DropdownMenuAction.Status | SetAddressablesMenuActiveStatus (DropdownMenuAction arg) |
| void | SetupAddressableLabels (DropdownMenuAction obj) |
| void | ToggleAddressables (DropdownMenuAction dropdownMenuAction) |
| bool | VerifyAddressablesPackage () |
Private Attributes | |
| WindowFrameThemeData | _activeAddressablesThemeData |
| SerializedObject | _serializedObject |
| ObjectField | _settingsField |
| WindowFrameThemeData | _themeData |
| ThemeListView | _themeListView |
Represents a custom editor window in Unity, used for managing themes within the Window Framework.
|
inlineprivate |


|
inlineprivate |


|
inlineprivate |
Initializes and configures the visual elements of the theme manager window.
Clears existing UI components, loads necessary styles, and builds the window's layout.
.


|
inlineprivate |


|
inlineprivate |
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:
.
PlayerPrefs with the path of the newly created theme data.CreateGUI to reload the window.

|
inlineprivate |
Creates and returns a new Toolbar instance for the theme management window.
.
Toolbar instance containing interactive buttons for management.

|
inlineprivate |

|
inlineprivate |
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.

|
inlineprivate |
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.
true if the asset was loaded successfully, false otherwise.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |


|
inlineprivate |


|
inlineprivate |

|
inlineprivate |


|
inlineprivate |


|
inlineprivate |

|
inlinestatic |

|
inlineprivate |


|
inlineprivate |


|
private |
|
private |
|
private |
|
private |
|
private |