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

◆ OnGUI()

void TouchExample.CubeController.OnGUI ( )
inlineprivate

Definition at line 64 of file CubeController.cs.

65 {
66 int touchCount = TouchManager.TouchCount;
67 global::InControl.Touch touch = TouchManager.GetTouch(0);
68 string text2;
69 string text3;
70 string text = text2 + ": fingerId = " + text3;
71 TouchPhase phase = touch.phase;
72 string text5;
73 string text4 = text + ", phase = " + text5;
74 Vector2 startPosition = touch.startPosition;
75 string text7;
76 string text6 = text4 + ", startPosition = " + text7;
77 Vector2 position = touch.position;
78 string text9;
79 string text8 = text6 + ", position = " + text9;
80 bool isMouse = touch.IsMouse;
81 string text11;
82 string text10 = text8 + ", mouseButton = " + text11;
83 int width = Screen.width;
84 if (position == null)
85 {
86 }
87 }
class f__AnonymousType0<< Count > j__TPar
static Touch GetTouch(int touchIndex)
static int width
Definition Screen.cs:17

References InControl.TouchManager.GetTouch(), j__TPar, System.text, InControl.TouchManager.TouchCount, and UnityEngine.Screen.width.