Summary
[Editor-Only]
A collapsible panel in the
Weaver.Editor.Window.WeaverWindow.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor .Window - Base Types
-
- Object
- Derived Types
graph BT
Type-->Base0["Object"]
Type["WeaverWindowPanel"]
class Type type-node
Derived0["ProceduralScriptPanel"]-->Type
click Derived0 "/weaver/api/Weaver.Editor.Window/ProceduralScriptPanel"
Derived1["MiscPanel"]-->Type
click Derived1 "/weaver/api/Weaver.Editor.Window/MiscPanel"
Syntax
public abstract class WeaverWindowPanel
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Injectors |
All the
Weaver.InjectionAttributes have been classified for this panel.
|
Properties
| Name | Value | Summary |
|---|---|---|
| IsExpanded | bool |
Determines whether this panel is currently expanded by comparing the index specified in
Weaver.Editor.Window.WeaverWindowPanel.Initialize(System.Int32) with Weaver.Editor.WeaverWindowSettings.currentPanel.
|
| Name | string |
The display name of this panel.
|
| VisibleInjectorCount | int |
The number of
Weaver.InjectionAttributes that are shown in this panel. |
Methods
| Name | Value | Summary |
|---|---|---|
| Check |
bool |
Opens a context menu if the current event is a Right Click.
|
| DoBodyGUI |
void |
Draws the Body GUI for this panel which is only displayed while it is expanded.
|
| Do |
void |
Draws the
Weaver.Editor.Window.WeaverWindowPanel.Injectors list, grouped by namespaces.
|
| DoGUI |
void |
Draws the GUI for this panel.
|
| DoHeaderGUI |
void |
Draws the Header GUI for this panel which is displayed regardless of whether it is expanded or not.
|
| DoInjectorListGUI |
void |
Draws each element in the
Weaver.Editor.Window.WeaverWindowPanel.Injectors list. |
| Initialize |
void |
Sets up the initial state of this panel.
|
| OnDisable |
void |
Called by
Weaver.Editor.Window.WeaverWindow.OnDisable().
|
| Populate |
void |
Adds functions to the header context menu.
|