示例#1
0
 private void onDoubleTapped(object sender, DoubleTapEventArgs e)
 {
     if (screenshotsTakeable)
     {
         this.currentRequestCause = e.RequestCause;
     }
 }
示例#2
0
    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
    }
示例#3
0
 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
 }
示例#4
0
 void DoubleTap(object sender, DoubleTapEventArgs e)
 {
     SendPacket.sendDoubleTap((int)e.LocalPosition.X, (int)e.LocalPosition.Y);
     Console.WriteLine("DoubleTap at " + e.LocalPosition.ToString());
 }