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

◆ DrawUnityInputDebugger()

void InControl.TestInputManager.DrawUnityInputDebugger ( )
inlineprivate

Definition at line 109 of file TestInputManager.cs.

110 {
111 int width = Screen.width;
112 string[] joystickNames = Input.GetJoystickNames();
113 string text;
114 if (("Joystick " == null || "Joystick " != null) && (text == null || text != null) && (": \"" == null || ": \"" != null) && ": \"" != null)
115 {
116 string text2;
117 string text3;
118 bool key = Input.GetKey("joystick " + text2 + " button " + text3);
119 string text5;
120 string text4 = "Buttons: " + "B" + text5 + " ";
121 string text6;
122 string text7;
123 float axisRaw = Input.GetAxisRaw("joystick " + text6 + " analog " + text7);
124 if ("joystick " == null)
125 {
126 }
127 string text8;
128 string text9;
129 if (("Analogs: " == null || "Analogs: " != null) && ("A" == null || "A" != null) && (text8 == null || text8 != null) && (": " == null || ": " != null) && (text9 == null || text9 != null) && (" " == null || " " != null))
130 {
131 return;
132 }
133 }
134 throw new ArrayTypeMismatchException();
135 }
class f__AnonymousType0<< Count > j__TPar
static bool GetKey(KeyCode key)
Definition Input.cs:85
static float GetAxisRaw(string axisName)
Definition Input.cs:34
static string[] GetJoystickNames()
Definition Input.cs:72
static int width
Definition Screen.cs:17

References UnityEngine.Input.GetAxisRaw(), UnityEngine.Input.GetJoystickNames(), UnityEngine.Input.GetKey(), j__TPar, System.key, System.text, and UnityEngine.Screen.width.