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

◆ OnPointerDown()

override void UnityEngine.UI.InputField.OnPointerDown ( PointerEventData eventData)
inlinevirtual

Reimplemented from UnityEngine.UI.Selectable.

Definition at line 1211 of file InputField.cs.

1212 {
1213 bool flag = this.MayDrag(eventData);
1215 GameObject gameObject = base.gameObject;
1216 current.SetSelectedGameObject(gameObject, eventData);
1217 bool allowInput = this.m_AllowInput;
1218 base.OnPointerDown(eventData);
1219 bool isSupported = TouchScreenKeyboard.isSupported;
1221 {
1222 TouchScreenKeyboard keyboard = this.m_Keyboard;
1223 if (keyboard != null)
1224 {
1225 bool active = keyboard.active;
1226 }
1227 throw new MissingMethodException();
1228 }
1229 if (allowInput)
1230 {
1231 RectTransform rectTransform = this.m_TextComponent.rectTransform;
1232 float x = eventData.<pointerPressRaycast>k__BackingField.screenPosition.x;
1233 float y = eventData.<pointerPressRaycast>k__BackingField.screenPosition.y;
1234 Camera pressEventCamera = eventData.pressEventCamera;
1235 int drawStart = this.m_DrawStart;
1237 string text = this.m_Text;
1238 int stringLength = text._stringLength;
1239 int stringLength2 = text._stringLength;
1241 return;
1242 }
1243 this.UpdateLabel();
1244 }
class f__AnonymousType0<< Count > j__TPar
GameObject gameObject
Definition Component.cs:31
void SetSelectedGameObject(GameObject selected, BaseEventData pointer)
RectTransform rectTransform
Definition Graphic.cs:262
TouchScreenKeyboard m_Keyboard
bool MayDrag(PointerEventData eventData)
bool< isPointerInside > k__BackingField

References UnityEngine.TouchScreenKeyboard.active, UnityEngine.EventSystems.EventSystem.current, UnityEngine.Component.gameObject, UnityEngine.GameObject.gameObject, UnityEngine.TouchScreenKeyboard.isSupported, j__TPar, UnityEngine.UI.Selectable.k__BackingField, UnityEngine.UI.InputField.m_AllowInput, UnityEngine.UI.InputField.m_DrawStart, UnityEngine.UI.InputField.m_Keyboard, UnityEngine.UI.InputField.m_Text, UnityEngine.UI.InputField.m_TextComponent, UnityEngine.UI.InputField.m_TouchKeyboardAllowsInPlaceEditing, UnityEngine.UI.InputField.MayDrag(), UnityEngine.EventSystems.PointerEventData.pressEventCamera, UnityEngine.UI.Graphic.rectTransform, UnityEngine.EventSystems.EventSystem.SetSelectedGameObject(), UnityEngine.UI.InputField.text, and UnityEngine.UI.InputField.UpdateLabel().