예제 #1
0
 void OnDrawGizmos()
 {
     if (center)
     {
         Gizmos.color = gizmoColor;
         SampleValues(Curves.Scratch);
         Curves.DrawCurveGizmo(Curves.Scratch);
     }
 }
예제 #2
0
 void OnDrawGizmos()
 {
     if (begin && end)
     {
         Gizmos.color = gizmoColor;
         SampleValues(Curves.Scratch);
         Curves.DrawCurveGizmo(Curves.Scratch);
     }
 }