Skip to content

UIStyles

ClassAssetInventoryAssetInventory.Editor
public static class UIStyles

No description is available for this type.

public const int BORDER_WIDTH = 30

No description is available for this member.

Returns

System.Int32 — No return description is available.

public const int INSPECTOR_WIDTH = 300

No description is available for this member.

Returns

System.Int32 — No return description is available.

public const int TAG_SIZE_SPACING = 20

No description is available for this member.

Returns

System.Int32 — No return description is available.

public const int TAG_OUTER_MARGIN = 20

No description is available for this member.

Returns

System.Int32 — No return description is available.

public static readonly GUIContent emptyTileContent

No description is available for this member.

Returns

UnityEngine.GUIContent — No return description is available.

public static readonly GUIContent selectedTileContent

No description is available for this member.

Returns

UnityEngine.GUIContent — No return description is available.

public static GUIStyle searchTile { get; }

No description is available for this member.

Returns

UnityEngine.GUIStyle — No return description is available.

public static GUIStyle packageTile { get; }

No description is available for this member.

Returns

UnityEngine.GUIStyle — No return description is available.

public static GUIStyle selectedSearchTile { get; }

No description is available for this member.

Returns

UnityEngine.GUIStyle — No return description is available.

public static GUIStyle selectedPackageTile { get; }

No description is available for this member.

Returns

UnityEngine.GUIStyle — No return description is available.

public static GUIStyle toggleButtonStyleNormal { get; }

No description is available for this member.

Returns

UnityEngine.GUIStyle — No return description is available.

public static GUIStyle toggleButtonStyleToggled { get; }

No description is available for this member.

Returns

UnityEngine.GUIStyle — No return description is available.

public static GUIStyle entryStyle { get; }

No description is available for this member.

Returns

UnityEngine.GUIStyle — No return description is available.

public static GUIStyle toggleStyle { get; }

No description is available for this member.

Returns

UnityEngine.GUIStyle — No return description is available.

public static GUIStyle tag { get; }

No description is available for this member.

Returns

UnityEngine.GUIStyle — No return description is available.

public static void ResetStyles()

No description is available for this member.

public static void DrawTag(TagInfo tagInfo, Action action = null)

No description is available for this member.

Parameters

Name Type Description
tagInfo AssetInventory.TagInfo
action System.Action
public static void DrawTag(TagInfo tagInfo, Action action, float maxWidth)

No description is available for this member.

Parameters

Name Type Description
tagInfo AssetInventory.TagInfo
action System.Action
maxWidth System.Single
public static float CalcTagWidth(string name, UIStyles.TagStyle style, float maxWidth = -1)

No description is available for this member.

Parameters

Name Type Description
name System.String
style AssetInventory.UIStyles.TagStyle
maxWidth System.Single

Returns

System.Single — No return description is available.

DrawTag(string, Color, Action, TagStyle, float)

Section titled “DrawTag(string, Color, Action, TagStyle, float)”
public static void DrawTag(string name, Color color, Action action, UIStyles.TagStyle style, float maxWidth = -1)

No description is available for this member.

Parameters

Name Type Description
name System.String
color UnityEngine.Color
action System.Action
style AssetInventory.UIStyles.TagStyle
maxWidth System.Single
public static void DrawTag(Rect rect, string name, Color color, UIStyles.TagStyle style)

No description is available for this member.

Parameters

Name Type Description
rect UnityEngine.Rect
name System.String
color UnityEngine.Color
style AssetInventory.UIStyles.TagStyle
public static GUILayoutOption GetLabelMaxWidth()

No description is available for this member.

Returns

UnityEngine.GUILayoutOption — No return description is available.

public static GUIContent Content(string text, string tip, string ctrlText, string ctrlTip = null)

No description is available for this member.

Parameters

Name Type Description
text System.String
tip System.String
ctrlText System.String
ctrlTip System.String

Returns

UnityEngine.GUIContent — No return description is available.