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

◆ KeyPressed()

InputField.EditState UnityEngine.UI.InputField.KeyPressed ( Event evt)
inlineprotected

Definition at line 1247 of file InputField.cs.

1248 {
1249 EventModifiers modifiers = evt.modifiers;
1250 OperatingSystemFamily operatingSystemFamily = SystemInfo.operatingSystemFamily;
1251 long num = 0L;
1252 KeyCode keyCode = evt.keyCode;
1253 int num2 = 1;
1254 this.MoveUp(num != 0L, num2 != 0);
1255 string text = this.m_Text;
1256 int stringLength = text._stringLength;
1258 int stringLength2 = text._stringLength;
1260 if (stringLength2 == 0)
1261 {
1262 }
1263 string systemCopyBuffer = GUIUtility.systemCopyBuffer;
1265 int num3 = 1;
1266 this.m_WasCanceled = num3 != 0;
1267 this.Backspace();
1268 this.ForwardSpace();
1269 if (this.m_InputType == InputField.InputType.Standard)
1270 {
1271 }
1272 return "";
1273 }
class f__AnonymousType0<< Count > j__TPar
void MoveUp(bool shift)
InputField.LineType lineType
InputField.LineType m_LineType
InputField.InputType m_InputType

References UnityEngine.UI.InputField.Backspace(), UnityEngine.UI.InputField.ForwardSpace(), j__TPar, UnityEngine.L, UnityEngine.UI.InputField.lineType, UnityEngine.UI.InputField.m_InputType, UnityEngine.UI.InputField.m_LineType, UnityEngine.UI.InputField.m_Text, UnityEngine.UI.InputField.MoveUp(), UnityEngine.SystemInfo.operatingSystemFamily, UnityEngine.GUIUtility.systemCopyBuffer, and UnityEngine.UI.InputField.text.

Referenced by UnityEngine.UI.InputField.OnUpdateSelected(), and UnityEngine.UI.InputField.ProcessEvent().