MiniToggler

Description

mini-toggler.png
MiniToggler options in the inspector

Add command to toggle a state or game object on or off.

MiniToggler has three target modes:

  • Self: Toggle the game object this component is attached to.
  • Game Object: Toggle a different game object.
  • ActionPair: Specify the "on" and "off" states via two actions.

By default the command is "toggle-<game-object-name>". One can also set a key binding.

By default the variable is "<game-object-name>". Since the variable is a boolean, use C-t or M-x toggle-booleans to toggle it and others. Otherwise use M-x edit-variable or M-x describe-variable.

See also
SeawispHunter.MinibufferConsole.MiniAction