game4automation.TouchInteraction Class Reference

Controls touch interaction during game4automation simulation / play mode.

Inheritance diagram for game4automation.TouchInteraction:

Public Member Functions

delegate void OneTouchPanDelegate (Vector2 pos, Vector2 pan)
 
delegate void TwoTouchPanZoomRotDelegate (Vector2 pos, Vector2 pan, float zoom, float rot)
 
delegate void ThreeTouchPanDelegate (Vector2 pos, Vector2 pan)
 
delegate void DoubleTouchDelegate (Vector2 pos)
 

Public Attributes

bool EnableZoom = true
 
bool EnableRotation = true
 
bool EnableOneFingerPan = true
 
bool EnableTwoFingerPan = true
 
bool AllowTouchOverUI = false
 
bool EnableTilt = true
 
float MinRot = 0.1f
 
bool EnableTest = true
 
bool DebugLog = true
 
Vector3 Pan
 
float Zoom
 
float Rot
 
Vector3 Tilt
 
Vector2 FirstTouch
 
Vector2 SecondTouch
 
Vector2 ThirdTouch
 
OneTouchPanDelegate oneTouchPanEvent
 
TwoTouchPanZoomRotDelegate twoTouchPanZoomRotDelegate
 
ThreeTouchPanDelegate threeTouchPanDelegate
 
DoubleTouchDelegate doubleTouchDelegate