Navigation
API > API/Plugins > API/Plugins/ScriptableToolsFramework > API/Plugins/ScriptableToolsFramework/UScriptableInteractiveTool
References
| Module | ScriptableToolsFramework |
| Header | /Engine/Plugins/Experimental/ScriptableToolsFramework/Source/ScriptableToolsFramework/Public/ScriptableInteractiveTool.h |
| Include | #include "ScriptableInteractiveTool.h" |
UFUNCTION&40;BlueprintImplementableEvent, Category&61;"ScriptableTool&124;Events"&41;
void OnScriptShutdown
&40;
EToolShutdownType ShutdownType
&41;
Remarks
OnScriptShutdown is called when the Tool is shutting down. The ShutdownType defines what the Tool should do. For Complete-style Tools, there is no difference, but for Accept/Cancel-style Tools, on Accept the Tool should "commit" whatever it is previewing/etc, and on Cancel it should roll back / do-nothing. Which of these occurs is based on the ToolShutdownType property.
Tool Shutdown cannot be interrupted/aborted