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

◆ Update()

void InterfaceMovement.ButtonManager.Update ( )
inlineprivate

Definition at line 16 of file ButtonManager.cs.

17 {
18 if (!true)
19 {
20 }
23 TwoAxisInputControl direction = activeDevice.Direction;
24 float deltaTime = Time.deltaTime;
25 twoAxisInputControl.Filter(direction, deltaTime);
26 bool wasRepeated = this.filteredDirection.<Left>k__BackingField.WasRepeated;
27 bool wasPressed = this.filteredDirection.<Up>k__BackingField.WasPressed;
28 Button up = this.focusedButton.up;
29 this.MoveFocusTo(up);
30 bool wasPressed2 = this.filteredDirection.<Down>k__BackingField.WasPressed;
31 Button down = this.focusedButton.down;
32 this.MoveFocusTo(down);
33 bool wasPressed3 = this.filteredDirection.<Left>k__BackingField.WasPressed;
34 Button left = this.focusedButton.left;
35 this.MoveFocusTo(left);
36 bool wasPressed4 = this.filteredDirection.<Right>k__BackingField.WasPressed;
37 Button right = this.focusedButton.right;
38 this.MoveFocusTo(right);
39 }
class f__AnonymousType0<< Count > j__TPar
TwoAxisInputControl Direction
static InputDevice ActiveDevice
void MoveFocusTo(Button newFocusedButton)
TwoAxisInputControl filteredDirection
static float deltaTime
Definition Time.cs:14

References InControl.InputManager.ActiveDevice, UnityEngine.Time.deltaTime, InControl.InputDevice.Direction, Down, InterfaceMovement.Button.down, InterfaceMovement.ButtonManager.filteredDirection, InterfaceMovement.ButtonManager.focusedButton, j__TPar, Left, InterfaceMovement.Button.left, InterfaceMovement.ButtonManager.MoveFocusTo(), Right, InterfaceMovement.Button.right, Up, InterfaceMovement.Button.up, and InControl.TwoAxisInputControl.WasPressed.