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

◆ GetTouchId()

int CursorManager.GetTouchId ( int touchIndex)
inlineprivate

Definition at line 189 of file CursorManager.cs.

190 {
191 while (!this.emuTouchFromMouse)
192 {
194 {
195 return Input.touches.fingerId;
196 }
197 }
198 int touchCount = this._touchCount;
199 return touchIndex;
200 }
class f__AnonymousType0<< Count > j__TPar
bool updatingEMUMouseTouches
static Touch[] touches
Definition Input.cs:232

References _touchCount, ActivateMouseMode, emuTouchFromMouse, UnityEngine.Touch.fingerId, j__TPar, UnityEngine.Input.touches, and updatingEMUMouseTouches.

Referenced by GetTouchPhase(), and IsTouchScrollOnly().