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 |
UFUNCTION&40;BlueprintCallable, Category&61;"SmartObject"&41;
bool SetSlotEnabled
&40;
const FSmartObjectSlotHandle SlotHandle,
const bool bEnabled
&41;
Remarks
Enables or disables the smart object slot represented by the provided handle. Previous enabled state.
Parameters
| Name | Description |
|---|---|
| SlotHandle | Handle to the smart object slot. |
| bEnabled | If true enables the slot, if false, disables the slot. |