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

◆ GetTouchIndex()

int CursorManager.GetTouchIndex ( int touchId)
inlineprivate

Definition at line 203 of file CursorManager.cs.

204 {
205 bool flag;
206 while (this.emuTouchFromMouse)
207 {
208 flag = this.fakeMouseActive;
209 if (flag)
210 {
211 bool flag2 = this.mouseActive;
212 break;
213 }
214 }
215 if (flag)
216 {
217 while (!flag)
218 {
219 }
220 }
221 Touch[] touches = Input.touches;
222 float y = touches.m_PositionDelta.y;
223 return touches.fingerId;
224 }
class f__AnonymousType0<< Count > j__TPar
static Touch[] touches
Definition Input.cs:232
Vector2 m_PositionDelta
Definition Touch.cs:242

References emuTouchFromMouse, fakeMouseActive, UnityEngine.Touch.fingerId, j__TPar, UnityEngine.Touch.m_PositionDelta, mouseActive, UnityEngine.Input.touches, and UnityEngine.Vector2.y.