Windowclass
Constructors1
Showing 1 constructors
No results match this filter.
Methods15
Showing 15 methods
public void AddToolBar(Editor.ToolBar bar, Editor.ToolbarPosition position = 4)
| Parameter | Type | Description |
|---|---|---|
| bar | ToolBar | — |
| position = 4 | ToolbarPosition | — |
void—public void Center()
Position the window at the centre of the screen, or main editor window if one is present.
void—public void Clear()
TODO this was a test, get rid of it
void—public virtual void Close()
void—protected virtual void OnBlur(Editor.FocusChangeReason reason)
| Parameter | Type | Description |
|---|---|---|
| reason | FocusChangeReason | — |
void—protected virtual void OnClosed()
void—protected virtual void OnResize()
void—public virtual void RestoreFromStateCookie()
Called whenever the window should restore its state via the EditorCookie library, that was previously saved in `Editor.Window.SaveToStateCookie`. You should use `Editor.Window.StateCookie` in the cookie name.
void—public void RestoreState(string state)
| Parameter | Type | Description |
|---|---|---|
| state | string | — |
void—public string SaveState(int version = 0)
| Parameter | Type | Description |
|---|---|---|
| version = 0 | int | — |
string—public virtual void SaveToStateCookie()
Called whenever the window should save its state via the EditorCookie library, to be later restored in `Editor.Window.RestoreFromStateCookie`. This is useful to carry data across game sessions. You should use `Editor.Window.StateCookie` in the cookie name.
void—public virtual void Show()
void—No results match this filter.
Properties9
Showing 9 properties
public bool Editor.Window.CloseButtonVisible { get; set; }
bool—public bool Editor.Window.IsDialog { get; set; }
bool—public bool Editor.Window.StartCentered { get; set; }
Initialises the window at the centre of the screen (or main editor window if one is present) by default.
bool—public string Editor.Window.StateCookie { get; set; }
A unique identifier for this window, to store the window state across sessions using the Cookie library.
string—No results match this filter.