public void RegisterTextElement(TextElement element)
 {
     if ((enabledTrackers & LiveReloadTrackers.Text) != 0)
     {
         m_TextElements.Add(element);
     }
 }
 public void RegisterTextElement(TextElement element)
 {
     if (enable)
     {
         m_TextElements.Add(element);
     }
 }
 public void UnregisterTextElement(TextElement element)
 {
     m_TextElements.Remove(element);
 }
Esempio n. 4
0
 public UITKTextHandle(TextElement te)
 {
     m_CurrentGenerationSettings = new UnityEngine.TextCore.Text.TextGenerationSettings();
     textHandle    = new TextHandle();
     m_TextElement = te;
 }
Esempio n. 5
0
 public static TextStylePainterParameters GetDefault(TextElement te)
 {
     return(GetDefault(te, te.text));
 }
Esempio n. 6
0
 public KeyboardTextEditorEventHandler(TextElement textElement, TextEditingUtilities editingUtilities)
     : base(textElement, editingUtilities)
 {
 }
 internal Vector2 MeasureTextSize(string textToMeasure, float width, VisualElement.MeasureMode widthMode, float height, VisualElement.MeasureMode heightMode)
 {
     return(TextElement.MeasureVisualElementTextSize(this, textToMeasure, width, widthMode, height, heightMode, this.textHandle));
 }