cohtml.Editor.InfoWindow
Helper class extending Unity3D’s EditorWindow and allows showing popup notification window with buttons.
Inherits from EditorWindow
Public Classes
Section titled “Public Classes”| Name | |
|---|---|
| class | Data Class storing popup InfoWindow data such as content message, button text, etc. |
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| void | Popup(string title, string message, string buttonText, Action onButtonClicked =null) Shows a popup window with a title, message and a button. |
| void | OnEnable() |
| void | CloseWindow() Closes the editor window. |
Public Properties
Section titled “Public Properties”| Name | |
|---|---|
| InfoWindow | Instance Returns a Singleton instance of the InfoWindow class. |
Public Functions Documentation
Section titled “Public Functions Documentation”function Popup
Section titled “function Popup”static void Popup( string title, string message, string buttonText, Action onButtonClicked =null)Shows a popup window with a title, message and a button.
Parameters:
- title The title of the window.
- message The text content of the popup window.
- buttonText The text content of the button.
- onButtonClicked Event to be executed when the button is clicked.
function OnEnable
Section titled “function OnEnable”void OnEnable()function CloseWindow
Section titled “function CloseWindow”void CloseWindow()Closes the editor window.
Public Property Documentation
Section titled “Public Property Documentation”property Instance
Section titled “property Instance”static InfoWindow Instance;Returns a Singleton instance of the InfoWindow class.
© 2026 Coherent Labs. All rights reserved.