Class DisconnectPins
Represents a node editor command that can be used to connect two pins.
public class DisconnectPins : INodeEditorCommand
- Inheritance
-
objectDisconnectPins
- Implements
Constructors
DisconnectPins(IPin)
Creates a new instance of the DisconnectPins class.
public DisconnectPins(IPin pin)
Parameters
pinIPinThe pin to disconnect.
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()