Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ModifiedShadow.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using UnityEngine;
3using UnityEngine.UI;
4
5public class ModifiedShadow : Shadow
6{
7 public override void ModifyMesh(VertexHelper vh)
8 {
9 if (IsActive())
10 {
11 List<UIVertex> list = ListPool<UIVertex>.Get();
12 vh.GetUIVertexStream(list);
13 ModifyVertices(list);
14 vh.Clear();
15 vh.AddUIVertexTriangleStream(list);
17 }
18 }
19
20 public virtual void ModifyVertices(List<UIVertex> verts)
21 {
22 }
23}
static void Release(List< T > toRelease)
Definition: ListPool.cs:15
static List< T > Get()
Definition: ListPool.cs:10
virtual void ModifyVertices(List< UIVertex > verts)
override void ModifyMesh(VertexHelper vh)