예제 #1
0
 public override void SetVerticesDirty()
 {
     if (IsActive() && m_TextComponent != null)
     {
         m_TextComponent.havePropertiesChanged = true;
         m_TextComponent.SetVerticesDirty();
     }
 }
        /// <summary>
        ///
        /// </summary>
        public override void SetVerticesDirty()
        {
            if (!this.IsActive())
            {
                return;
            }

            // This is called on the parent TextMeshPro component.
            if (m_TextComponent != null)
            {
                m_TextComponent.havePropertiesChanged = true;
                m_TextComponent.SetVerticesDirty();
            }
        }
예제 #3
0
 static int SetVerticesDirty(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         TMPro.TextMeshProUGUI obj = (TMPro.TextMeshProUGUI)ToLua.CheckObject(L, 1, typeof(TMPro.TextMeshProUGUI));
         obj.SetVerticesDirty();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }