UnityEngine.TextGenerator.Invalidate C# (CSharp) Method

Invalidate() public method

Mark the text generator as invalid. This will force a full text generation the next time Populate is called.

public Invalidate ( ) : void
return void
        public void Invalidate()
        {
            this.m_HasGenerated = false;
        }

Usage Example

コード例 #1
0
 static int Invalidate(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UnityEngine.TextGenerator obj = (UnityEngine.TextGenerator)ToLua.CheckObject(L, 1, typeof(UnityEngine.TextGenerator));
         obj.Invalidate();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }