Class TMP_Style
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
[Serializable]
public class TMP_Style
Properties
NormalStyle
Declaration
public static TMP_Style NormalStyle { get; }
Property Value
hashCode
The hash code corresponding to the name of this style.
Declaration
public int hashCode { get; set; }
Property Value
name
The name identifying this style, for example <style="name">.
Declaration
public string name { get; set; }
Property Value
styleClosingDefinition
The closing definition of the style, for example </b> </u>.
Declaration
public string styleClosingDefinition { get; }
Property Value
styleClosingTagArray
Declaration
public uint[] styleClosingTagArray { get; }
Property Value
styleOpeningDefinition
The initial definition of the style, for example <b> <u>.
Declaration
public string styleOpeningDefinition { get; }
Property Value
styleOpeningTagArray
Declaration
public uint[] styleOpeningTagArray { get; }
Property Value
Methods
RefreshStyle()
Function to update the content of the int[] resulting from changes to OpeningDefinition and ClosingDefinition.
Declaration
public void RefreshStyle()