Class EditorGUIUtil
- Namespace
- TAssetBundle.Editor
- Assembly
- TAssetBundle.Editor.dll
public static class EditorGUIUtil
- Inheritance
-
EditorGUIUtil
- Inherited Members
-
Methods
BeginColor(Color)
public static Color BeginColor(Color color)
Parameters
color Color
Returns
- Color
BeginContentColor(Color)
public static Color BeginContentColor(Color color)
Parameters
color Color
Returns
- Color
DrawActiveAssetBundle(string, IActiveAssetBundleInfo, bool)
public static void DrawActiveAssetBundle(string foldoutKey, IActiveAssetBundleInfo activeAssetBundle, bool defaultFoldout = false)
Parameters
foldoutKey string
activeAssetBundle IActiveAssetBundleInfo
defaultFoldout bool
DrawAsset(IAssetInfo, params GUILayoutOption[])
public static void DrawAsset(IAssetInfo assetInfo, params GUILayoutOption[] options)
Parameters
assetInfo IAssetInfo
options GUILayoutOption[]
DrawSort(string, bool, Action<bool>, params GUILayoutOption[])
public static void DrawSort(string label, bool value, Action<bool> onChanged, params GUILayoutOption[] options)
Parameters
label string
value bool
onChanged Action<bool>
options GUILayoutOption[]
DrawTextField(string, string, Action<string>)
public static void DrawTextField(string label, string value, Action<string> onChanged)
Parameters
label string
value string
onChanged Action<string>
DrawToggle(string, bool, Action<bool>)
public static void DrawToggle(string label, bool value, Action<bool> onChanged)
Parameters
label string
value bool
onChanged Action<bool>
EndColor(Color)
public static void EndColor(Color color)
Parameters
color Color
EndContentColor(Color)
public static void EndContentColor(Color color)
Parameters
color Color
FloatField(string, string, float)
public static float FloatField(string key, string name, float value)
Parameters
key string
name string
value float
Returns
- float
public static bool FoldoutHeaderGroup(bool foldout, string label, Color color = default, Action inGroup = null)
Parameters
foldout bool
label string
color Color
inGroup Action
Returns
- bool
public static bool FoldoutHeaderGroup(string foldoutKey, string label, Color color = default, bool defaultValue = true, Action inGroup = null)
Parameters
foldoutKey string
label string
color Color
defaultValue bool
inGroup Action
Returns
- bool
LabelFieldColor(string, Color)
public static void LabelFieldColor(string label, Color color)
Parameters
label string
color Color