54 {
55 if (!IsActive())
56 {
57 return;
58 }
61 Text component = GetComponent<Text>();
62 int num = 0;
65 {
66 num = m_Verts.Count - component.cachedTextGenerator.characterCountVisible * 6;
67 num2 = component.cachedTextGenerator.characterCountVisible * 6;
68 }
69 Color color = base.effectColor;
70 color.a /= 4f;
71 int start = num;
73 ApplyShadowZeroAlloc(
m_Verts, color, start,
m_Verts.Count, base.effectDistance.x, base.effectDistance.y);
74 for (int i = -1; i <= 1; i++)
75 {
76 for (int j = -1; j <= 1; j++)
77 {
78 if (i != 0 || j != 0)
79 {
80 start = count2;
83 }
84 }
85 }
87 {
88 List<UIVertex> range =
m_Verts.GetRange(0, count - num2);
89 m_Verts.RemoveRange(0, count - num2);
91 }
92 if (component.material.shader == Shader.Find("Text Effects/Fancy Text"))
93 {
94 for (int k = 0; k < m_Verts.Count - count; k++)
95 {
97 value.uv1 = new Vector2(0f, 0f);
99 }
100 }
101 vh.Clear();
102 vh.AddUIVertexTriangleStream(
m_Verts);
103 }
bool onlyInitialCharactersDropShadow
bool m_OnlyInitialCharactersDropShadow