|
Window Framework v1.2.4
Window Framework for Unity UI Toolkit
|
The Window Id is used for window memory features. Combine with the ParentObjectId to generate unique instances of custom types.
Notes: A Unique Window ID is required for Memory Features to work
Used to link a window frame to a in game object such as a treasure chests inventory window
Notes: Required for Proper Memory Functions
Unique name for the window
Notes: Required for Proper Memory Functions
Text displayed in the header
Notes: when ShowHeader=True
Initial opening position of window, if movement is allowed and memory enabled then the memory location will override this after initial open.
Lock the window to the start position. When enabled screen resizing will also be respected and window placement adjusted accordingly.
Enables location and size memory for the window
Allows or Dissallows multpiple version of the window to be opened. Very useful for windows that must be unique such as settings, or character screens.
Notes: Default = true
Toggle the window to bo fullscreen or not, restores window to location and size when toggled to false.
Notes: Locks window while Fullscreen and removes any radius in window border styling
Can the window be set full screen, enables default menu options for fuillscreen/restore
Forces the window to fill the screen, useful for startup or escape key menus
Optionally specify a minimum width for the window
Notes: Can also be set in the style setting of the theme
Optionally specify a minimum height for the window
Notes: Can also be set in the style setting of the theme
Default starting width for the window
Notes: Can also be set in the style setting of the theme
Default starting height of the window
Notes: Can also be set in the style setting of the theme
Optionally show the header
Notes: Required true to allow moving the window
Can the window be resized
Notes: Requires footer to be visible
Can the window be closed
Can the window me moved on screen
Notes: Requires header to be visible
Can the player lock/unlock the window placement and size
Is the window currently locked
Notes: Disable many features such as movement and resizing
Optional tooltip assignemnt for the options menu
Notes: Default: Open Option Menu
Optional tooltip assignemnt for the resize area
Notes: Default: Click to Resize Window
Optional custom configuration for the context menu of this window.
Container for your custom content. Since this is a framework and not a managed UI, you will need to create functional content to display within the window frames content section, just like a frame from the store, you must supply the picture to show.
Notes: This is also where UI builder will place items when added from the visual interface.
WindowFrameController.Instance.ReopenWindows(); WindowFrameController.Instance.ReopenWindows(float);