void OnMouseUp()
 {
     MouseDown = false;
     if (!Lerping)
     {
         Mrkr.DropMarker();
     }
     LerpEndPt     = LerpStartPt;
     LerpStartPt   = FPCam.transform.position;
     LerpStartTime = Time.time;
     Lerping       = true;
 }
Example #2
0
 void OnMouseUp()
 {
     MouseDown = false;
     if (!Lerping)
     {
         Mrkr.DropMarker();
         transform.Find("YArrow").GetComponent <Renderer>().enabled  = true;
         transform.Find("XZPlane").GetComponent <Renderer>().enabled = true;
     }
     LerpEndPt     = LerpStartPt;
     LerpStartPt   = FPCam.transform.position;
     LerpStartTime = Time.time;
     Lerping       = true;
 }