forked from MattRix/UnityDecompiled
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAndroidInput.cs
More file actions
38 lines (38 loc) · 815 Bytes
/
AndroidInput.cs
File metadata and controls
38 lines (38 loc) · 815 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
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()
{
}
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern Touch GetSecondaryTouch(int index);
}
}