Class TMP_BaseEditorPanel
Inheritance
TMP_BaseEditorPanel
Syntax
public abstract class TMP_BaseEditorPanel : Editor
Fields
Declaration
protected static readonly GUIContent k_ExtraSettingsLabel
Field Value
| Type |
Description |
| GUIContent |
|
m_AutoSizingProp
Declaration
protected SerializedProperty m_AutoSizingProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_CharacterSpacingProp
Declaration
protected SerializedProperty m_CharacterSpacingProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_CharWidthMaxAdjProp
Declaration
protected SerializedProperty m_CharWidthMaxAdjProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_CheckPaddingRequiredProp
Declaration
protected SerializedProperty m_CheckPaddingRequiredProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_ColorModeProp
Declaration
protected SerializedProperty m_ColorModeProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_EnableEscapeCharacterParsingProp
Declaration
protected SerializedProperty m_EnableEscapeCharacterParsingProp
Field Value
| Type |
Description |
| SerializedProperty |
|
Declaration
protected SerializedProperty m_EnableExtraPaddingProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_EnableKerningProp
Declaration
protected SerializedProperty m_EnableKerningProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_EnableVertexGradientProp
Declaration
protected SerializedProperty m_EnableVertexGradientProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_EnableWordWrappingProp
Declaration
protected SerializedProperty m_EnableWordWrappingProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_FontAssetProp
Declaration
protected SerializedProperty m_FontAssetProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_FontColorGradientPresetProp
Declaration
protected SerializedProperty m_FontColorGradientPresetProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_FontColorGradientProp
Declaration
protected SerializedProperty m_FontColorGradientProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_FontColorProp
Declaration
protected SerializedProperty m_FontColorProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_FontSharedMaterialProp
Declaration
protected SerializedProperty m_FontSharedMaterialProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_FontSizeBaseProp
Declaration
protected SerializedProperty m_FontSizeBaseProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_FontSizeMaxProp
Declaration
protected SerializedProperty m_FontSizeMaxProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_FontSizeMinProp
Declaration
protected SerializedProperty m_FontSizeMinProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_FontSizeProp
Declaration
protected SerializedProperty m_FontSizeProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_FontStyleProp
Declaration
protected SerializedProperty m_FontStyleProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_GeometrySortingOrderProp
Declaration
protected SerializedProperty m_GeometrySortingOrderProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_HandlePoints
Declaration
protected Vector3[] m_HandlePoints
Field Value
| Type |
Description |
| Vector3[] |
|
m_HasFontAssetChangedProp
Declaration
protected SerializedProperty m_HasFontAssetChangedProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_HavePropertiesChanged
Declaration
protected bool m_HavePropertiesChanged
Field Value
m_HorizontalMappingProp
Declaration
protected SerializedProperty m_HorizontalMappingProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_IsLinkedTextComponentProp
Declaration
protected SerializedProperty m_IsLinkedTextComponentProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_IsPresetListDirty
Declaration
protected bool m_IsPresetListDirty
Field Value
m_IsRichTextProp
Declaration
protected SerializedProperty m_IsRichTextProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_IsRightToLeftProp
Declaration
protected SerializedProperty m_IsRightToLeftProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_LineSpacingMaxProp
Declaration
protected SerializedProperty m_LineSpacingMaxProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_LineSpacingProp
Declaration
protected SerializedProperty m_LineSpacingProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_LinkedTextComponentProp
Declaration
protected SerializedProperty m_LinkedTextComponentProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_MarginProp
Declaration
protected SerializedProperty m_MarginProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_MaterialPresetNames
Declaration
protected GUIContent[] m_MaterialPresetNames
Field Value
| Type |
Description |
| GUIContent[] |
|
m_MaterialPresets
Declaration
protected Material[] m_MaterialPresets
Field Value
| Type |
Description |
| Material[] |
|
m_MaterialPresetSelectionIndex
Declaration
protected int m_MaterialPresetSelectionIndex
Field Value
m_OverrideHtmlColorProp
Declaration
protected SerializedProperty m_OverrideHtmlColorProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_PageToDisplayProp
Declaration
protected SerializedProperty m_PageToDisplayProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_ParagraphSpacingProp
Declaration
protected SerializedProperty m_ParagraphSpacingProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_RectCorners
Declaration
protected Vector3[] m_RectCorners
Field Value
| Type |
Description |
| Vector3[] |
|
Declaration
protected RectTransform m_RectTransform
Field Value
| Type |
Description |
| RectTransform |
|
m_RtlText
Declaration
protected string m_RtlText
Field Value
m_SpriteAssetProp
Declaration
protected SerializedProperty m_SpriteAssetProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_TargetMaterial
Declaration
protected Material m_TargetMaterial
Field Value
| Type |
Description |
| Material |
|
m_TextAlignmentProp
Declaration
protected SerializedProperty m_TextAlignmentProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_TextComponent
Declaration
protected TMP_Text m_TextComponent
Field Value
m_TextOverflowModeProp
Declaration
protected SerializedProperty m_TextOverflowModeProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_TextProp
Declaration
protected SerializedProperty m_TextProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_UseMaxVisibleDescenderProp
Declaration
protected SerializedProperty m_UseMaxVisibleDescenderProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_UvLineOffsetProp
Declaration
protected SerializedProperty m_UvLineOffsetProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_VerticalMappingProp
Declaration
protected SerializedProperty m_VerticalMappingProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_WordSpacingProp
Declaration
protected SerializedProperty m_WordSpacingProp
Field Value
| Type |
Description |
| SerializedProperty |
|
m_WordWrappingRatiosProp
Declaration
protected SerializedProperty m_WordWrappingRatiosProp
Field Value
| Type |
Description |
| SerializedProperty |
|
s_EventId
Declaration
protected static int s_EventId
Field Value
selAlignGridA
Declaration
Field Value
selAlignGridB
Declaration
Field Value
Methods
Declaration
protected abstract void DrawExtraSettings()
DrawGeometrySorting()
Declaration
protected void DrawGeometrySorting()
DrawKerning()
Declaration
protected void DrawKerning()
DrawMainSettings()
Declaration
protected void DrawMainSettings()
DrawMarginProperty(SerializedProperty, GUIContent)
Declaration
protected void DrawMarginProperty(SerializedProperty property, GUIContent label)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
property |
|
| GUIContent |
label |
|
DrawMargins()
Declaration
protected void DrawMargins()
DrawPadding()
Declaration
protected void DrawPadding()
DrawParsing()
Declaration
protected void DrawParsing()
DrawPropertySlider(GUIContent, SerializedProperty)
Declaration
protected void DrawPropertySlider(GUIContent label, SerializedProperty property)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
property |
|
DrawRichText()
Declaration
protected void DrawRichText()
DrawTextInput()
Declaration
protected void DrawTextInput()
DrawTextureMapping()
Declaration
protected void DrawTextureMapping()
GetMaterialPresets()
Method to retrieve the material presets that match the currently selected font asset.
Declaration
protected GUIContent[] GetMaterialPresets()
Returns
| Type |
Description |
| GUIContent[] |
|
IsMixSelectionTypes()
Declaration
protected abstract bool IsMixSelectionTypes()
Returns
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnInspectorGUI()
Declaration
public override void OnInspectorGUI()
OnSceneGUI()
Declaration
OnUndoRedo()
Declaration
protected abstract void OnUndoRedo()