Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
Outline8.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using UnityEngine;
3
4public class Outline8 : ModifiedShadow
5{
6 public override void ModifyVertices(List<UIVertex> verts)
7 {
8 if (!IsActive())
9 {
10 return;
11 }
12 int num = verts.Count * 9;
13 if (verts.Capacity < num)
14 {
15 verts.Capacity = num;
16 }
17 int count = verts.Count;
18 int num2 = 0;
19 for (int i = -1; i <= 1; i++)
20 {
21 for (int j = -1; j <= 1; j++)
22 {
23 if (i != 0 || j != 0)
24 {
25 int num3 = num2 + count;
26 ApplyShadow(verts, base.effectColor, num2, num3, base.effectDistance.x * (float)i, base.effectDistance.y * (float)j);
27 num2 = num3;
28 }
29 }
30 }
31 }
32}
override void ModifyVertices(List< UIVertex > verts)
Definition: Outline8.cs:6