Class TextMeshProExtensions
public static class TextMeshProExtensions
- Inheritance
-
TextMeshProExtensions
- Inherited Members
-
Methods
GetHeight(TextMeshProUGUI)
public static float GetHeight(this TextMeshProUGUI tmp)
Parameters
tmp TextMeshProUGUI
Returns
- float
GetLineCount(TextMeshProUGUI)
public static int GetLineCount(this TextMeshProUGUI tmp)
Parameters
tmp TextMeshProUGUI
Returns
- int
SetColor(TextMeshProUGUI, Color)
public static void SetColor(this TextMeshProUGUI tmp, Color color)
Parameters
tmp TextMeshProUGUI
color Color
SetTextOrHide(TextMeshProUGUI, string)
public static void SetTextOrHide(this TextMeshProUGUI text, string value)
Parameters
text TextMeshProUGUI
value string