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

◆ OnSelectItem()

void UnityEngine.UI.Dropdown.OnSelectItem ( Toggle toggle)
inlineprivate

Definition at line 498 of file Dropdown.cs.

499 {
500 if (!toggle.m_IsOn)
501 {
502 int num = 1;
503 toggle.isOn = num != 0;
504 }
505 Transform transform = toggle.transform;
506 Transform parent = transform.parent;
507 long num2 = 0L;
508 int childCount = parent.childCount;
509 bool flag = parent.GetChild((int)num2) == transform;
510 int childCount2 = parent.childCount;
511 }
class f__AnonymousType0<< Count > j__TPar

References UnityEngine.Transform.childCount, UnityEngine.Transform.GetChild(), j__TPar, UnityEngine.L, UnityEngine.UI.Toggle.m_IsOn, UnityEngine.Transform.parent, UnityEngine.Component.transform, and UnityEngine.UI.ICanvasElement.transform.