private void onDoubleTapped(object sender, DoubleTapEventArgs e) { if (screenshotsTakeable) { this.currentRequestCause = e.RequestCause; } }
void DoubleTap() { Debug.LogError("DoubleTap was recognized."); //source.PlayOneShot(doubleTapSound); #if (!UNITY_EDITOR) // send event to Controller DoubleTapEventArgs args = new DoubleTapEventArgs(); args.RequestCause = RequestCause.USERINITIATED; var handler = DoubleTapped; if (handler != null) { handler.Invoke(this, args); } #endif }
void DoubleTap(object sender, DoubleTapEventArgs e) { SendPacket.sendDoubleTap((int)e.LocalPosition.X, (int)e.LocalPosition.Y); Console.WriteLine("DoubleTap at " + e.LocalPosition.ToString()); //SendPacket.sendLeftMouseDoubleClick((int)e.LocalPosition.X,(int)e.LocalPosition.Y);//jonathan send touch cordinates so we can click those cordinates }
void DoubleTap(object sender, DoubleTapEventArgs e) { SendPacket.sendDoubleTap((int)e.LocalPosition.X, (int)e.LocalPosition.Y); Console.WriteLine("DoubleTap at " + e.LocalPosition.ToString()); }