示例#1
0
 private void OnControlChanged(HandlesManager.Controls control)
 {
     _position.isOn       = control == HandlesManager.Controls.Position;
     _rotation.isOn       = control == HandlesManager.Controls.Rotation;
     _scale.isOn          = control == HandlesManager.Controls.Scale;
     _global.interactable = control != HandlesManager.Controls.Scale;
 }
 private void OnControlChanged(HandlesManager.Controls control)
 {
     _activeControl = control;
     Refresh();
 }