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

◆ OnDisable()

override void UnityEngine.UI.Mask.OnDisable ( )
inlineprotectedvirtual

Reimplemented from UnityEngine.EventSystems.UIBehaviour.

Definition at line 101 of file Mask.cs.

102 {
103 base.OnDisable();
104 Graphic graphic = this.graphic;
105 Graphic graphic2 = this.graphic;
106 CanvasRenderer canvasRenderer = this.graphic.canvasRenderer;
107 long num = 0L;
109 CanvasRenderer canvasRenderer2 = this.graphic.canvasRenderer;
110 long num2 = 0L;
112 long num3;
113 if (this.graphic != null)
114 {
115 if (this.graphic != null)
116 {
117 }
118 num3 = 0L;
119 return;
120 }
121 Material maskMaterial = this.m_MaskMaterial;
122 if (num3 == 0L)
123 {
124 }
125 StencilMaterial.Remove(maskMaterial);
126 StencilMaterial.Remove(this.m_UnmaskMaterial);
127 MaskUtilities.NotifyStencilStateChanged(this);
128 }
class f__AnonymousType0<< Count > j__TPar
CanvasRenderer canvasRenderer
Definition Graphic.cs:302
Graphic graphic
Definition Mask.cs:49
Material m_MaskMaterial
Definition Mask.cs:169
Material m_UnmaskMaterial
Definition Mask.cs:173

References UnityEngine.UI.Graphic.canvasRenderer, UnityEngine.UI.Mask.graphic, j__TPar, UnityEngine.L, UnityEngine.UI.Mask.m_MaskMaterial, UnityEngine.UI.Mask.m_UnmaskMaterial, UnityEngine.UI.MaskUtilities.NotifyStencilStateChanged(), and UnityEngine.UI.StencilMaterial.Remove().