コード例 #1
0
 public void UpdateGraphics()
 {
     if (PointerRegionManager.startDragRegion != null)
     {
         line.start  = PointerRegionManager.startDragRegion.region.SphereCoordinatesRef;
         line.finish = lineFinishPoint;
         lineFinishPoint.transform.up = InputDirection;
         lineFinishPoint.ApplyToTransform();
         line.lineRenderer.enabled = true;
         line.UpdateGraphics();
     }
     else
     {
         line.lineRenderer.enabled = false;
     }
 }