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

◆ OnEnable()

override void UnityEngine.UI.Selectable.OnEnable ( )
inlineprotectedvirtual

Reimplemented from UnityEngine.EventSystems.UIBehaviour.

Reimplemented in UnityEngine.UI.Slider, and UnityEngine.UI.Toggle.

Definition at line 379 of file Selectable.cs.

380 {
381 bool enableCalled = this.m_EnableCalled;
382 if (enableCalled)
383 {
384 return;
385 }
386 base.OnEnable();
387 if (!enableCalled)
388 {
389 }
390 if (!enableCalled)
391 {
392 }
393 bool flag = EventSystem.current;
395 GameObject gameObject = base.gameObject;
397 int num = 1;
398 this.<hasSelection>k__BackingField = num != 0;
399 if (num == 0)
400 {
401 }
403 if (this == null)
404 {
405 throw new ArrayTypeMismatchException();
406 }
407 if (this.<isPointerDown>k__BackingField)
408 {
409 return;
410 }
411 if (this.<hasSelection>k__BackingField)
412 {
413 return;
414 }
416 }
class f__AnonymousType0<< Count > j__TPar
GameObject gameObject
Definition Component.cs:31
bool< isPointerInside > k__BackingField

References UnityEngine.EventSystems.EventSystem.current, UnityEngine.Component.gameObject, UnityEngine.GameObject.gameObject, UnityEngine.UI.Selectable.hasSelection, UnityEngine.UI.Selectable.isPointerDown, UnityEngine.UI.Selectable.isPointerInside, j__TPar, UnityEngine.UI.Selectable.k__BackingField, UnityEngine.EventSystems.EventSystem.m_CurrentSelected, and UnityEngine.UI.Selectable.m_EnableCalled.