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

◆ IsComponentValidOnObject()

bool UnityEngine.UI.AspectRatioFitter.IsComponentValidOnObject ( )
inline

Definition at line 212 of file AspectRatioFitter.cs.

213 {
214 Canvas component = base.gameObject.GetComponent<Canvas>();
215 bool flag = component;
216 bool isRootCanvas = component.isRootCanvas;
217 RenderMode renderMode = component.renderMode;
218 return true;
219 }
class f__AnonymousType0<< Count > j__TPar

References UnityEngine.Component.gameObject, UnityEngine.GameObject.GetComponent(), UnityEngine.Canvas.isRootCanvas, j__TPar, and UnityEngine.Canvas.renderMode.

Referenced by UnityEngine.UI.AspectRatioFitter.Start(), and UnityEngine.UI.AspectRatioFitter.UpdateRect().