TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript
PointerEventArgs Class
PointerEventArgs Methods
GetCachedEventArgs Method
PointerEventArgs
GetCachedEventArgs Method
Returns cached instance of EventArgs. This cached EventArgs is reused throughout the library not to alocate new ones on every call.
Namespace:
TouchScript
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
static
PointerEventArgs
GetCachedEventArgs
(
IList
<
Pointer
>
pointers
)
Parameters
pointers
Type:
System.Collections.Generic
IList
Pointer
A list of pointers for event.
Return Value
Type:
PointerEventArgs
Cached EventArgs object.
See Also
Reference
PointerEventArgs Class
TouchScript Namespace