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

◆ canvasRenderer

CanvasRenderer UnityEngine.UI.Graphic.canvasRenderer
getinherited

Definition at line 301 of file Graphic.cs.

302 {
303 get
304 {
305 CanvasRenderer canvasRenderer;
306 if (this.m_CanvasRenderer == null)
307 {
308 CanvasRenderer component = base.GetComponent<CanvasRenderer>();
309 this.m_CanvasRenderer = component;
310 if (component == null)
311 {
312 canvasRenderer = base.gameObject.AddComponent<CanvasRenderer>();
314 }
315 }
316 return canvasRenderer;
317 }
318 }
class f__AnonymousType0<< Count > j__TPar
Component GetComponent(Type type)
Definition Component.cs:41
GameObject gameObject
Definition Component.cs:31
Component AddComponent(Type componentType)
CanvasRenderer canvasRenderer
Definition Graphic.cs:302
CanvasRenderer m_CanvasRenderer
Definition Graphic.cs:796

Referenced by UnityEngine.UI.Graphic.CrossFadeColor(), UnityEngine.UI.Mask.GetModifiedMaterial(), UnityEngine.UI.Graphic.OnCullingChanged(), UnityEngine.UI.Toggle.OnDidApplyAnimationProperties(), UnityEngine.UI.Graphic.OnDisable(), UnityEngine.UI.Mask.OnDisable(), UnityEngine.UI.Mask.OnEnable(), UnityEngine.UI.Graphic.Rebuild(), UnityEngine.UI.MaskableGraphic.SetClipRect(), UnityEngine.UI.MaskableGraphic.SetClipSoftness(), UnityEngine.UI.Graphic.UpdateMaterial(), and UnityEngine.UI.Image.UpdateMaterial().