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
BasicExample.cs
Go to the documentation of this file.
1
using
System
;
2
using
InControl
;
3
using
UnityEngine
;
4
5
namespace
BasicExample
6
{
7
// Token: 0x02000010 RID: 16
8
public
class
BasicExample
:
MonoBehaviour
9
{
10
// Token: 0x06000052 RID: 82 RVA: 0x00003228 File Offset: 0x00001428
11
private
void
Update
()
12
{
13
if
(!
true
)
14
{
15
}
16
InputDevice
activeDevice =
InputManager
.
ActiveDevice
;
17
Transform
transform =
base
.
transform
;
18
float
deltaTime =
Time
.
deltaTime
;
19
float
num = activeDevice.
LeftStickX
;
20
Transform
transform2
=
base
.
transform
;
21
float
deltaTime2
=
Time
.
deltaTime
;
22
float
num2
= activeDevice.
LeftStickY
;
23
bool
isPressed
= activeDevice.
Action1
.
IsPressed
;
24
bool
isPressed2
= activeDevice.
Action2
.
IsPressed
;
25
Material
material =
base
.GetComponent<
Renderer
>().material;
26
}
27
28
// Token: 0x06000053 RID: 83 RVA: 0x000032A4 File Offset: 0x000014A4
29
public
BasicExample
()
30
{
31
}
32
}
33
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
BasicExample.BasicExample.BasicExample
BasicExample()
Definition
BasicExample.cs:29
BasicExample.BasicExample.Update
void Update()
Definition
BasicExample.cs:11
InControl.InputDevice.Action2
InputControl Action2
Definition
InputDevice.cs:2049
InControl.InputDevice.Action1
InputControl Action1
Definition
InputDevice.cs:2033
InControl.InputDevice.LeftStickX
InputControl LeftStickX
Definition
InputDevice.cs:2193
InControl.InputDevice.LeftStickY
InputControl LeftStickY
Definition
InputDevice.cs:2209
InControl.InputDevice
Definition
InputDevice.cs:12
InControl.InputManager.ActiveDevice
static InputDevice ActiveDevice
Definition
InputManager.cs:956
InControl.InputManager
Definition
InputManager.cs:11
InControl.OneAxisInputControl.IsPressed
bool IsPressed
Definition
OneAxisInputControl.cs:372
UnityEngine.Component.transform
Transform transform
Definition
Component.cs:20
UnityEngine.Material
Definition
Material.cs:14
UnityEngine.MonoBehaviour
Definition
MonoBehaviour.cs:15
UnityEngine.Renderer
Definition
Renderer.cs:13
UnityEngine.Time.deltaTime
static float deltaTime
Definition
Time.cs:14
UnityEngine.Time
Definition
Time.cs:10
UnityEngine.Transform
Definition
Transform.cs:17
BasicExample
Definition
BasicExample.cs:6
InControl
Definition
BindingListenOptions.cs:4
System
Definition
__ComObject.cs:4
UnityEngine
Definition
_AndroidJNIHelper.cs:6
source
InControl.Examples
BasicExample
BasicExample.cs
Generated by
1.10.0