// UpdateSelectState
 private void UpdateSelectState()
 {
     UpdateEdit(true);
     if (input.Drag.HasValue)
     {
         if (Vector2.Distance(selectedState.pos, Camera.main.ScreenToWorldPoint(input.LastPos.Value)) < Appdata.circleSize)
         {
             selectedState.pos += input.Drag.Value * Camera.main.orthographicSize * 2f / Screen.height;
             smc.DrawState(selectedState, true);
             smc.DrawTransitions();
         }
         else
         {
             Camera.main.transform.Translate(-input.Drag.Value * Camera.main.orthographicSize * 2f / Screen.height);
         }
     }
 }