forked from MattRix/UnityDecompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroidInput.cs
More file actions
51 lines (44 loc) · 1015 Bytes
/
AndroidInput.cs
File metadata and controls
51 lines (44 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using System;
using System.Runtime.CompilerServices;
namespace UnityEngine
{
public sealed class AndroidInput
{
public static extern int touchCountSecondary
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
public static extern bool secondaryTouchEnabled
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
public static extern int secondaryTouchWidth
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
public static extern int secondaryTouchHeight
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
private AndroidInput()
{
}
public static Touch GetSecondaryTouch(int index)
{
Touch result;
AndroidInput.INTERNAL_CALL_GetSecondaryTouch(index, out result);
return result;
}
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_GetSecondaryTouch(int index, out Touch value);
}
}