private void SetSegmentMaterialSelected(CritterSegment segment, bool on) {
     if(on) {
         segment.GetComponent<MeshRenderer>().material.SetFloat("_Selected", 1f);  // turn on selected
     }
     else {
         segment.GetComponent<MeshRenderer>().material.SetFloat("_Selected", 0f);  // de-select
     }
 }
 private void SetSegmentMaterialHover(CritterSegment segment, bool on) {
     // bool on true=is hovering;   false=not hovering
     if(on) {
         segment.GetComponent<MeshRenderer>().material.SetFloat("_DisplayTarget", 1f);  // turn on crosshairs
     }
     else {
         segment.GetComponent<MeshRenderer>().material.SetFloat("_DisplayTarget", 0f);  // turn off crosshairs
     }
 }