C4 Engine
C4 Engine API Documentation

InputMgr::RemoveAction

Defined in:  C4Input.h
Unregisters an action object with the Input Manager.
Prototype

void RemoveAction(Action *action);

Parameters
action The action object to unregister.
Description
The RemoveAction function unregisters an Action object that was previously registered with the Input Manager. When an action is unregistered, any input controls to which the action was assigned have their actions reset to nullptr.

An action is automatically unregistered if it is destroyed.
See Also

InputMgr::AddAction

Action

InputControl