Michsky – Docs Michsky – Docs
  • Home
  • Documentation
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact
Michsky – Docs Michsky – Docs
Michsky – Docs
  • Home
  • Documentation
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact

Modern UI Pack

  • Quick Start
  • UI Elements
    • Button
    • Charts
    • Context Menu
    • Dropdown
    • Horizontal Selector
    • List View
    • Modal Window
    • Movable Window
    • Notification
    • Progress Bar
    • Slider
    • Switch
    • Tooltip
    • Window Manager
    • Other Elements
  • UI Manager
  • Examples
  1. Home
  2. Docs
  3. Modern UI Pack
  4. UI Elements
  5. Window Manager
Updated on February 17, 2022

Modern UI Pack

  • Quick Start
  • UI Elements
    • Button
    • Charts
    • Context Menu
    • Dropdown
    • Horizontal Selector
    • List View
    • Modal Window
    • Movable Window
    • Notification
    • Progress Bar
    • Slider
    • Switch
    • Tooltip
    • Window Manager
    • Other Elements
  • UI Manager
  • Examples

Window Manager

Author: admin 99 views

In order to add your own content to an existing panel, just drag your stuff under [Window Name] > Content object. As long as your stuff is a child of Content, it’ll be automatically animated.

Adding a new window

Duplicate an existing panel to create a new one. If you want, you can also create or duplicate a button. After duplicating the objects, assign them into Window Manager. As long as ‘Initialize Buttons’ is enabled, you don’t have to call WindowManager.OpenWindow().

Properties

Property Type Function
currentWindowIndex
int

Returns the selected window item index.

cullTransparentWindows
boolean

Disable inactive windows.

initializeButtons
boolean

Automatically initialize window buttons.

onWindowChange
UnityEvent

Process dynamic events on window change.

Scripting

				
					using Michsky.UI.ModernUIPack; // namespace

public WindowManager myWindowManager;

void YourFunction()
{
   myWindowManager.OpenWindow("Your Window Name"); // open a specific window
   myWindowManager.OpenWindowByIndex(1); // open a specific window by index
   myWindowManager.NextWindow(); // open next page
   myWindowManager.PrevWindow(); // open previous page
   myWindowManager.ShowCurrentWindow(); // show current window
   myWindowManager.HideCurrentWindow(); // hide current window
   myWindowManager.ShowCurrentButton(); // show current window button
   myWindowManager.HideCurrentButton(); // hide current window button
}				
			

How can we help?

A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.

Content

© 2022 Michsky