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

◆ SetWithTouchData()

void InControl.Touch.SetWithTouchData ( Touch touch,
ulong updateTick,
float deltaTime )
inlinepackage

Definition at line 108 of file Touch.cs.

109 {
112 int num = touch.tapCount;
113 this.tapCount = num;
114 float num2 = touch.altitudeAngle;
115 float num3 = touch.azimuthAngle;
116 float num4 = touch.maximumPossiblePressure;
117 float num5 = touch.pressure;
118 float num6 = touch.radius;
119 float num7 = touch.radiusVariance;
120 Vector2 vector = touch.position;
121 int width = Screen.width;
122 int height = Screen.height;
123 if (this.phase == TouchPhase.Began)
124 {
125 return;
126 }
127 float x = this.lastPosition.x;
128 float y = this.lastPosition.y;
129 Vector2 vector2 = this.position;
134 }
class f__AnonymousType0<< Count > j__TPar
ulong updateTick
Definition Touch.cs:190
Vector2 position
Definition Touch.cs:175
Vector2 lastPosition
Definition Touch.cs:184
TouchPhase phase
Definition Touch.cs:169
static int height
Definition Screen.cs:28
static int width
Definition Screen.cs:17

References UnityEngine.Screen.height, j__TPar, InControl.Touch.lastPosition, InControl.Touch.phase, InControl.Touch.position, InControl.Touch.updateTick, UnityEngine.Screen.width, UnityEngine.Vector2.x, and UnityEngine.Vector2.y.