Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SoftDelete

The command name for the Soft Delete command, which removes the current selection. The Editor sends this command instead of EventCommandNames.Delete when the Delete key is pressed without modifiers, so a handler can implement a less destructive removal, such as keeping references intact.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UICommonModule
public const string SoftDelete = "SoftDelete"