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

◆ UpdateCursor()

void XNAUIInputLayer.UpdateCursor ( global::Cursor cursor)
inline

Definition at line 33 of file XNAUIInputLayer.cs.

34 {
35 if (cursor.InputLayer != null)
36 {
37 if (cursor.Down || cursor.WasDown)
38 {
39 return;
40 }
41 bool key = KeyboardInput.GetKey(KeyCode.Mouse1);
43 }
45 Debug.Log("Releasing cursor");
46 float x = cursor.Position.x;
47 float y = cursor.Position.y;
50 }
class f__AnonymousType0<< Count > j__TPar
static bool GetKey(KeyCode keycode)
static void Log(object message)
Definition Debug.cs:51
CursorInputLayer _inputLayer

References _inputLayer, KeyboardInput.GetKey(), j__TPar, System.key, and UnityEngine.Debug.Log().