Show / Hide Table of Contents

Class TMP_Settings

Inheritance
object
Object
ScriptableObject
TMP_Settings
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance(string)
ScriptableObject.CreateInstance(Type)
ScriptableObject.CreateInstance<T>()
Namespace: TMPro
Assembly: HollowKnight.dll
Syntax
[Serializable]
[ExecuteInEditMode]
[CreateAssetMenu(fileName = "TMP Settings", menuName = "Create TMP Settings")]
public class TMP_Settings : ScriptableObject

Properties

| Edit this page View Source

autoSizeTextContainer

Declaration
public static bool autoSizeTextContainer { get; }
Property Value
Type Description
bool
| Edit this page View Source

defaultFontAsset

Declaration
public static TMP_FontAsset defaultFontAsset { get; }
Property Value
Type Description
TMP_FontAsset
| Edit this page View Source

defaultFontAssetPath

Declaration
public static string defaultFontAssetPath { get; }
Property Value
Type Description
string
| Edit this page View Source

defaultFontSize

Declaration
public static float defaultFontSize { get; }
Property Value
Type Description
float
| Edit this page View Source

defaultSpriteAsset

Declaration
public static TMP_SpriteAsset defaultSpriteAsset { get; }
Property Value
Type Description
TMP_SpriteAsset
| Edit this page View Source

defaultSpriteAssetPath

Declaration
public static string defaultSpriteAssetPath { get; }
Property Value
Type Description
string
| Edit this page View Source

defaultStyleSheet

Declaration
public static TMP_StyleSheet defaultStyleSheet { get; }
Property Value
Type Description
TMP_StyleSheet
| Edit this page View Source

defaultTextAutoSizingMaxRatio

Declaration
public static float defaultTextAutoSizingMaxRatio { get; }
Property Value
Type Description
float
| Edit this page View Source

defaultTextAutoSizingMinRatio

Declaration
public static float defaultTextAutoSizingMinRatio { get; }
Property Value
Type Description
float
| Edit this page View Source

defaultTextMeshProTextContainerSize

Declaration
public static Vector2 defaultTextMeshProTextContainerSize { get; }
Property Value
Type Description
Vector2
| Edit this page View Source

defaultTextMeshProUITextContainerSize

Declaration
public static Vector2 defaultTextMeshProUITextContainerSize { get; }
Property Value
Type Description
Vector2
| Edit this page View Source

enableEmojiSupport

Declaration
public static bool enableEmojiSupport { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

enableExtraPadding

Declaration
public static bool enableExtraPadding { get; }
Property Value
Type Description
bool
| Edit this page View Source

enableKerning

Declaration
public static bool enableKerning { get; }
Property Value
Type Description
bool
| Edit this page View Source

enableParseEscapeCharacters

Declaration
public static bool enableParseEscapeCharacters { get; }
Property Value
Type Description
bool
| Edit this page View Source

enableTintAllSprites

Declaration
public static bool enableTintAllSprites { get; }
Property Value
Type Description
bool
| Edit this page View Source

enableWordWrapping

Declaration
public static bool enableWordWrapping { get; }
Property Value
Type Description
bool
| Edit this page View Source

fallbackFontAssets

Declaration
public static List<TMP_FontAsset> fallbackFontAssets { get; }
Property Value
Type Description
List<TMP_FontAsset>
| Edit this page View Source

followingCharacters

Declaration
public static TextAsset followingCharacters { get; }
Property Value
Type Description
TextAsset
| Edit this page View Source

instance

Declaration
public static TMP_Settings instance { get; }
Property Value
Type Description
TMP_Settings
| Edit this page View Source

leadingCharacters

Declaration
public static TextAsset leadingCharacters { get; }
Property Value
Type Description
TextAsset
| Edit this page View Source

linebreakingRules

Declaration
public static TMP_Settings.LineBreakingTable linebreakingRules { get; }
Property Value
Type Description
TMP_Settings.LineBreakingTable
| Edit this page View Source

matchMaterialPreset

Declaration
public static bool matchMaterialPreset { get; }
Property Value
Type Description
bool
| Edit this page View Source

missingGlyphCharacter

Declaration
public static int missingGlyphCharacter { get; }
Property Value
Type Description
int
| Edit this page View Source

warningsDisabled

Declaration
public static bool warningsDisabled { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

GetFontAsset()

Declaration
public static TMP_FontAsset GetFontAsset()
Returns
Type Description
TMP_FontAsset
| Edit this page View Source

GetSettings()

Declaration
public static TMP_Settings GetSettings()
Returns
Type Description
TMP_Settings
| Edit this page View Source

GetSpriteAsset()

Declaration
public static TMP_SpriteAsset GetSpriteAsset()
Returns
Type Description
TMP_SpriteAsset
| Edit this page View Source

GetStyleSheet()

Declaration
public static TMP_StyleSheet GetStyleSheet()
Returns
Type Description
TMP_StyleSheet
| Edit this page View Source

LoadDefaultSettings()

Declaration
public static TMP_Settings LoadDefaultSettings()
Returns
Type Description
TMP_Settings
| Edit this page View Source

LoadLinebreakingRules()

Declaration
public static void LoadLinebreakingRules()

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾