InputMgr::RemoveAction
Defined in:
Unregisters an action object with the Input Manager.
C4Input.h
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