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

◆ GetTouchPhase()

TouchPhase CursorManager.GetTouchPhase ( int touchIndex)
inlineprivate

Definition at line 314 of file CursorManager.cs.

315 {
316 do
317 {
318 if (this.emuTouchFromMouse)
319 {
320 int touchId = this.GetTouchId(touchIndex);
321 bool flag = this.updatingEMUMouseTouches;
323 }
324 }
325 while (this.ActivateMouseMode && !this.updatingEMUMouseTouches);
326 Touch[] touches = Input.touches;
327 return touches.phase;
328 }
class f__AnonymousType0<< Count > j__TPar
bool updatingEMUMouseTouches
int GetTouchId(int touchIndex)
static Touch[] touches
Definition Input.cs:232
static bool GetMouseButtonDown(int index, bool ignoreEditor=false)
TouchPhase phase
Definition Touch.cs:47

References ActivateMouseMode, emuTouchFromMouse, XNAUnityRunner.GetMouseButtonDown(), GetTouchId(), j__TPar, UnityEngine.Touch.phase, UnityEngine.Input.touches, and updatingEMUMouseTouches.