Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
bool DestroySmartObject
(
FSmartObjectHandle Handle
)
Remarks
Removes the SmartObject runtime data from the simulation, destroys it and unbinds and unregister associated component if any. True if the SmartObject data has been successfully found and destroyed, false otherwise.
Parameters
| Name | Description |
|---|---|
| Handle | Handle to the SmartObject to destroy |