Class TMP_Settings
Inheritance
Object
ScriptableObject
TMP_Settings
Inherited Members
ScriptableObject.SetDirty()
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
|
Edit this page
View Source
defaultFontAsset
Declaration
public static TMP_FontAsset defaultFontAsset { get; }
Property Value
|
Edit this page
View Source
defaultFontAssetPath
Declaration
public static string defaultFontAssetPath { get; }
Property Value
|
Edit this page
View Source
defaultFontSize
Declaration
public static float defaultFontSize { get; }
Property Value
|
Edit this page
View Source
defaultSpriteAsset
Declaration
public static TMP_SpriteAsset defaultSpriteAsset { get; }
Property Value
|
Edit this page
View Source
defaultSpriteAssetPath
Declaration
public static string defaultSpriteAssetPath { get; }
Property Value
|
Edit this page
View Source
defaultStyleSheet
Declaration
public static TMP_StyleSheet defaultStyleSheet { get; }
Property Value
|
Edit this page
View Source
defaultTextAutoSizingMaxRatio
Declaration
public static float defaultTextAutoSizingMaxRatio { get; }
Property Value
|
Edit this page
View Source
defaultTextAutoSizingMinRatio
Declaration
public static float defaultTextAutoSizingMinRatio { get; }
Property Value
|
Edit this page
View Source
defaultTextMeshProTextContainerSize
Declaration
public static Vector2 defaultTextMeshProTextContainerSize { get; }
Property Value
|
Edit this page
View Source
defaultTextMeshProUITextContainerSize
Declaration
public static Vector2 defaultTextMeshProUITextContainerSize { get; }
Property Value
|
Edit this page
View Source
enableEmojiSupport
Declaration
public static bool enableEmojiSupport { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public static bool enableExtraPadding { get; }
Property Value
|
Edit this page
View Source
enableKerning
Declaration
public static bool enableKerning { get; }
Property Value
|
Edit this page
View Source
enableParseEscapeCharacters
Declaration
public static bool enableParseEscapeCharacters { get; }
Property Value
|
Edit this page
View Source
enableTintAllSprites
Declaration
public static bool enableTintAllSprites { get; }
Property Value
|
Edit this page
View Source
enableWordWrapping
Declaration
public static bool enableWordWrapping { get; }
Property Value
|
Edit this page
View Source
fallbackFontAssets
Declaration
public static List<TMP_FontAsset> fallbackFontAssets { get; }
Property Value
|
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
|
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
|
Edit this page
View Source
matchMaterialPreset
Declaration
public static bool matchMaterialPreset { get; }
Property Value
|
Edit this page
View Source
missingGlyphCharacter
Declaration
public static int missingGlyphCharacter { get; }
Property Value
|
Edit this page
View Source
warningsDisabled
Declaration
public static bool warningsDisabled { get; }
Property Value
Methods
|
Edit this page
View Source
GetFontAsset()
Declaration
public static TMP_FontAsset GetFontAsset()
Returns
|
Edit this page
View Source
GetSettings()
Declaration
public static TMP_Settings GetSettings()
Returns
|
Edit this page
View Source
GetSpriteAsset()
Declaration
public static TMP_SpriteAsset GetSpriteAsset()
Returns
|
Edit this page
View Source
GetStyleSheet()
Declaration
public static TMP_StyleSheet GetStyleSheet()
Returns
|
Edit this page
View Source
LoadDefaultSettings()
Declaration
public static TMP_Settings LoadDefaultSettings()
Returns
|
Edit this page
View Source
LoadLinebreakingRules()
Declaration
public static void LoadLinebreakingRules()
Extension Methods