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 InControl.TouchStickControl.Update ( )
inlineprivate

Definition at line 76 of file TouchStickControl.cs.

77 {
78 if (this.dirty)
79 {
80 return;
81 }
82 TouchSprite touchSprite = this.ring;
83 long num = 0L;
84 touchSprite.Update(num != 0L);
85 TouchSprite touchSprite2 = this.knob;
86 long num2 = 0L;
87 touchSprite2.Update(num2 != 0L);
89 if (this.resetWhenDone)
90 {
92 float x = this.resetPosition.x;
93 float y = this.resetPosition.y;
94 float z = this.resetPosition.z;
98 float num3 = this.ringResetSpeed;
99 float x2 = this.resetPosition.x;
100 float y2 = this.resetPosition.y;
101 float z2 = this.resetPosition.z;
102 float unscaledDeltaTime = Time.unscaledDeltaTime;
103 if (!true)
104 {
105 }
106 if (this.ring.<Ready>k__BackingField)
107 {
108 }
110 if (this.knob.<Ready>k__BackingField)
111 {
112 }
113 }
117 float num4 = this.knobResetSpeed;
119 if (!true)
120 {
121 }
122 if (this.knob.<Ready>k__BackingField)
123 {
124 return;
125 }
126 }
class f__AnonymousType0<< Count > j__TPar
static float unscaledDeltaTime
Definition Time.cs:34

References InControl.TouchStickControl.currentTouch, InControl.TouchStickControl.dirty, j__TPar, InControl.TouchStickControl.knob, InControl.TouchStickControl.KnobPosition, InControl.TouchStickControl.knobResetSpeed, InControl.L, InControl.TouchStickControl.resetPosition, InControl.TouchStickControl.resetWhenDone, InControl.TouchStickControl.ring, InControl.TouchStickControl.RingPosition, InControl.TouchStickControl.ringResetSpeed, UnityEngine.Time.unscaledDeltaTime, InControl.TouchSprite.Update(), UnityEngine.Vector3.x, UnityEngine.Vector3.y, and UnityEngine.Vector3.z.