BasicEditorUI
public abstract class BasicEditorUI : EditorWindowNo description is available for this type.
Properties
Section titled “Properties”
public static Texture2D Logo { get; }No description is available for this member.
Returns
UnityEngine.Texture2D — No return description is available.
Methods
Section titled “Methods”
OnGUI()
Section titled “OnGUI()”public virtual void OnGUI()No description is available for this member.
GUILabelWithText(string, string, int, string, bool, bool)
Section titled “GUILabelWithText(string, string, int, string, bool, bool)”protected static void GUILabelWithText(string label, string text, int width = 95, string tooltip = null, bool wrappable = false, bool selectable = false)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
label |
System.String | |
text |
System.String | |
width |
System.Int32 | |
tooltip |
System.String | |
wrappable |
System.Boolean | |
selectable |
System.Boolean | |
GUILabelWithTextNoMax(string, string, int, string, bool, bool)
Section titled “GUILabelWithTextNoMax(string, string, int, string, bool, bool)”protected static void GUILabelWithTextNoMax(string label, string text, int width = 95, string tooltip = null, bool wrappable = false, bool selectable = false)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
label |
System.String | |
text |
System.String | |
width |
System.Int32 | |
tooltip |
System.String | |
wrappable |
System.Boolean | |
selectable |
System.Boolean | |
UILine(string, Action, bool)
Section titled “UILine(string, Action, bool)”protected static void UILine(string key, Action content, bool alwaysShow = false)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
key |
System.String | |
content |
System.Action | |
alwaysShow |
System.Boolean | |
UISection(string, string, Action)
Section titled “UISection(string, string, Action)”protected static void UISection(string group, string key, Action content)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
group |
System.String | |
key |
System.String | |
content |
System.Action | |
UIBlock2(string, Action, bool)
Section titled “UIBlock2(string, Action, bool)”protected static void UIBlock2(string key, Action content, bool alwaysShow = false)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
key |
System.String | |
content |
System.Action | |
alwaysShow |
System.Boolean | |
UIBlock(string, Action, bool, bool, bool)
Section titled “UIBlock(string, Action, bool, bool, bool)”protected static void UIBlock(string key, Action content, bool alwaysShow = false, bool horizontal = false, bool expand = true)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
key |
System.String | |
content |
System.Action | |
alwaysShow |
System.Boolean | |
horizontal |
System.Boolean | |
expand |
System.Boolean | |
GUIStringListField(string, string, Action, string, string, int, string)
Section titled “GUIStringListField(string, string, Action, string, string, int, string)”public static string GUIStringListField(string label, string value, Action<string> setValue, string separator = ",", string title = "Items", int labelWidth = 140, string tooltip = null)Displays a text field with an edit button that opens a StringListUI popup for managing comma/semicolon-separated values.
Parameters
| Name | Type | Description |
|---|---|---|
label |
System.String | The label to display |
value |
System.String | Current comma/semicolon-separated value |
setValue |
System.Action{System.String} | Callback to update the value |
separator |
System.String | Separator character (e.g., “,” or “;”) |
title |
System.String | Title for the popup window |
labelWidth |
System.Int32 | Width of the label (optional) |
tooltip |
System.String | Tooltip text (optional) |
Returns
System.String — The updated value
DrawFolder(string, string, string, Action, int, string, Func<string, bool>, bool)
Section titled “DrawFolder(string, string, string, Action, int, string, Func<string, bool>, bool)”protected void DrawFolder(string caption, string curFolder, string defaultFolder, Action<string> newFolder, int labelWidth, string prompt = "Select folder", Func<string, bool> validator = null, bool leaveOpen = false)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
caption |
System.String | |
curFolder |
System.String | |
defaultFolder |
System.String | |
newFolder |
System.Action{System.String} | |
labelWidth |
System.Int32 | |
prompt |
System.String | |
validator |
System.Func{System.String,System.Boolean} | |
leaveOpen |
System.Boolean | |
BeginIndentBlock(int)
Section titled “BeginIndentBlock(int)”protected static void BeginIndentBlock(int widthOverride = 0)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
widthOverride |
System.Int32 | |
EndIndentBlock(bool)
Section titled “EndIndentBlock(bool)”protected static void EndIndentBlock(bool autoSpace = true)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
autoSpace |
System.Boolean | |
GetPopupPositionAtMouse()
Section titled “GetPopupPositionAtMouse()”public static Rect GetPopupPositionAtMouse()Gets a popup position at the current mouse location.
Returns
UnityEngine.Rect — No return description is available.
ShowAdvanced()
Section titled “ShowAdvanced()”protected static bool ShowAdvanced()No description is available for this member.
Returns
System.Boolean — No return description is available.