Documentation

Unity Version Control

Trigger delete command reference

Find the options and arguments you can use to delete triggers from the Unity Version Control command line.
Read time 1 minuteLast updated 5 days ago

The
cm trigger delete
command deletes a trigger on a server.

Usage

cm trigger | tr delete | rm <subtype-type> <position_number> [--server=<repserverspec>]
cm tr
is an alias of
cm trigger
, and
rm
is an alias of
delete
.

Options and arguments

The
cm trigger delete
command accepts the following options and arguments:

Option or argument

Required

Description

subtype-type
YesTrigger execution and trigger operation. To see a list of trigger types, run
cm trigger showtypes
.
position_number
YesPosition of the trigger to delete.
--server
NoDeletes the trigger on the specified server. If you don't specify a server, the command runs on the server that the client is configured to use.

Example commands to delete triggers

Delete the trigger of type
after-setselector
at position 4:
cm trigger delete after-setselector 4
Delete the same trigger with the short command names:
cm tr rm after-setselector 4

Additional resources