terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GenerateHighlight()

void UnityEngine.UI.InputField.GenerateHighlight ( VertexHelper vbo,
Vector2 roundingOffset )
inlineprivate

Definition at line 1989 of file InputField.cs.

1990 {
1991 int caretPosition = this.m_CaretPosition;
1992 string text;
1993 int stringLength = text._stringLength;
1994 int drawStart = this.m_DrawStart;
1996 string text2;
1997 int stringLength2 = text2._stringLength;
1998 int drawStart2 = this.m_DrawStart;
1999 TextGenerator cachedTextGenerator = this.m_TextComponent.cachedTextGenerator;
2000 int lineCount = cachedTextGenerator.lineCount;
2001 if (drawStart2 == 0)
2002 {
2003 }
2004 int num;
2005 int lineEndPosition = InputField.GetLineEndPosition(cachedTextGenerator, num);
2006 if (drawStart2 == 0)
2007 {
2008 }
2009 float r = this.m_SelectionColor.r;
2010 float g = this.m_SelectionColor.g;
2011 float b = this.m_SelectionColor.b;
2012 float a = this.m_SelectionColor.a;
2013 }
class f__AnonymousType0<< Count > j__TPar
TextGenerator cachedTextGenerator
Definition Text.cs:23

References UnityEngine.Color.a, UnityEngine.Color.b, UnityEngine.UI.Text.cachedTextGenerator, UnityEngine.UI.InputField.caretPosition, UnityEngine.Color.g, UnityEngine.UI.InputField.GetLineEndPosition(), j__TPar, UnityEngine.TextGenerator.lineCount, UnityEngine.UI.InputField.m_CaretPosition, UnityEngine.UI.InputField.m_CaretSelectPosition, UnityEngine.UI.InputField.m_DrawStart, UnityEngine.UI.InputField.m_SelectionColor, UnityEngine.UI.InputField.m_TextComponent, UnityEngine.Color.r, and UnityEngine.UI.InputField.text.