Beispiel #1
0
 public void OnDrawRuntimeGizmos(RuntimeGizmoDrawer drawer)
 {
     if (this.enabled && this.gameObject.activeInHierarchy && drawDebug &&
         _lastRay.HasValue)
     {
         drawer.color = LeapColor.lime;
         drawer.DrawRay(_lastRay.Value.origin, _lastRay.Value.direction);
     }
 }