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

◆ OnUpdateSelected()

virtual void UnityEngine.UI.InputField.OnUpdateSelected ( BaseEventData eventData)
inlinevirtual

Implements UnityEngine.EventSystems.IUpdateSelectedHandler.

Definition at line 1288 of file InputField.cs.

1289 {
1290 bool allowInput = this.m_AllowInput;
1291 if (allowInput)
1292 {
1293 bool flag = Event.PopEvent(this.m_ProcessingEvent);
1294 EventType rawType = this.m_ProcessingEvent.rawType;
1295 string text;
1296 if (allowInput && text._stringLength == 0)
1297 {
1298 char character = this.m_ProcessingEvent.character;
1300 {
1301 bool flag2 = Event.PopEvent(this.m_ProcessingEvent);
1302 this.UpdateLabel();
1303 return;
1304 }
1305 }
1307 InputField.EditState editState = this.KeyPressed(processingEvent);
1308 if (!this.m_WasCanceled)
1309 {
1310 this.SendOnSubmit();
1311 }
1312 this.DeactivateInputField();
1313 return;
1314 }
1315 }
class f__AnonymousType0<< Count > j__TPar
EventType rawType
Definition Event.cs:149
EventModifiers modifiers
Definition Event.cs:182
InputField.EditState KeyPressed(Event evt)

References UnityEngine.Event.character, UnityEngine.UI.InputField.DeactivateInputField(), j__TPar, UnityEngine.UI.InputField.KeyPressed(), UnityEngine.UI.InputField.m_AllowInput, UnityEngine.UI.InputField.m_ProcessingEvent, UnityEngine.UI.InputField.m_WasCanceled, UnityEngine.Event.modifiers, UnityEngine.Event.PopEvent(), UnityEngine.Event.rawType, UnityEngine.UI.InputField.SendOnSubmit(), UnityEngine.UI.InputField.text, and UnityEngine.UI.InputField.UpdateLabel().