API reference
API reference
Select your platform
No SDKs available
No versions available

WitEditorUI Class

Static Member Functions

static void LayoutLabel
( string text )
static void LayoutWrapLabel
( string text )
static void LayoutHeaderLabel
( string text )
static void LayoutSubheaderLabel
( string text )
static void LayoutErrorLabel
( string text )
static void LayoutStatusLabel
( string text )
static void LayoutKeyLabel
( string key,
string text )
static void LayoutKeyObjectLabels
( string key,
object obj )
static bool LayoutTextButton
( string text )
static bool LayoutTextLink
( string text )
static bool LayoutIconButton
( GUIContent icon )
static void LayoutTabButtons
( string [] tabTitles,
ref int selection )
static bool LayoutTabButton
( string tabTitle )
static void LayoutHeaderButton
( Texture2D headerTexture,
string headerURL,
string docsUrl )
static void LayoutHeaderText
( string text,
string headerURL,
string docsUrl )
static bool GetFoldoutValue
( object bindObject )
static void SetFoldoutValue
( object bindObject,
bool toFoldout )
static bool LayoutFoldout
( GUIContent key,
object bindObject )
static bool LayoutFoldout
( GUIContent key,
bool wasFoldout )
static void LayoutTextField
( GUIContent key,
ref string fieldValue,
ref bool isUpdated )
static void LayoutPasswordField
( GUIContent key,
ref string fieldValue,
ref bool isUpdated )
static void LayoutEnumField< T >
( GUIContent key,
ref T fieldValue,
ref bool isUpdated )
static void LayoutPopupField
( GUIContent key,
string [] options,
ref string selectedOption,
ref bool isUpdated )
static void LayoutProperty
( SerializedObject serializedObject,
string propertyName )
static void LayoutIntField
( GUIContent key,
ref int fieldValue,
ref bool isUpdated )
static void LayoutLockedTextField
( GUIContent key,
ref string fieldValue,
ref bool isUpdated )
static void LayoutToggle
( GUIContent key,
ref bool toggleValue,
ref bool isUpdated )
static void LayoutPopup
( string key,
string [] options,
ref int selectionValue,
ref bool isUpdated )
static bool LayoutSerializedObjectPopup
( SerializedObject serializedObject,
string propertyName,
string [] names,
ref int index )
static void LayoutWindow
( string windowTitle,
Texture2D windowHeader,
string windowHeaderUrl,
string windowInfoUrl,
Action windowContentLayout,
ref Vector2 offset,
out Vector2 size )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon