Esempio n. 1
0
 public static void ChangeCaret(List <UIVertex> vertices, List <int> tri)
 {
     if (m_Caret != null)
     {
         m_Caret.uIVertices = vertices;
         m_Caret.triangle   = tri;
         m_Caret.Refresh();
         time = 0;
     }
 }
 public static void ChangeCaret(TextInfo info)
 {
     if (m_Caret != null)
     {
         m_Caret.uIVertices = info.selectVertex;
         m_Caret.triangle   = info.selectTri;
         m_Caret.Refresh();
         time = 0;
         m_Caret.gameObject.SetActive(true);
     }
     CaretStyle = info.CaretStyle;
 }